Changeset 8a9a41e in mainline for uspace/lib/inet/include/inet/addr.h


Ignore:
Timestamp:
2021-10-24T08:28:43Z (2 years ago)
Author:
GitHub <noreply@…>
Children:
f628215
Parents:
2ce943a (diff), cd981f2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Erik Kučák <35500848+Riko196@…> (2021-10-24 08:28:43)
git-committer:
GitHub <noreply@…> (2021-10-24 08:28:43)
Message:

Merge branch 'HelenOS:master' into master

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/inet/include/inet/addr.h

    r2ce943a r8a9a41e  
    11/*
    2  * Copyright (c) 2013 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup libc
     29/** @addtogroup libinet
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef _LIBC_INET_ADDR_H_
    36 #define _LIBC_INET_ADDR_H_
     35#ifndef LIBINET_INET_ADDR_H
     36#define LIBINET_INET_ADDR_H
    3737
    3838#include <errno.h>
     39#include <inet/eth_addr.h>
    3940#include <stdint.h>
    4041
    4142typedef uint32_t addr32_t;
    42 typedef uint8_t addr48_t[6];
     43
    4344typedef uint8_t addr128_t[16];
    4445
     
    7879
    7980extern const addr32_t addr32_broadcast_all_hosts;
    80 extern const addr48_t addr48_broadcast;
    8181
    82 extern void addr48(const addr48_t, addr48_t);
    8382extern void addr128(const addr128_t, addr128_t);
    8483
    85 extern int addr48_compare(const addr48_t, const addr48_t);
    8684extern int addr128_compare(const addr128_t, const addr128_t);
    87 
    88 extern void addr48_solicited_node(const addr128_t, addr48_t);
     85extern void eth_addr_solicited_node(const addr128_t, eth_addr_t *);
    8986
    9087extern void host2addr128_t_be(const addr128_t, addr128_t);
Note: See TracChangeset for help on using the changeset viewer.