Home
last modified time | relevance | path

Searched refs:sdl_nlen (Results 1 – 12 of 12) sorted by relevance

/haiku/headers/posix/net/
H A Dif_dl.h19 uint8_t sdl_nlen; /* interface name length (not terminated with a null byte) */ member
26 #define LLADDR(s) ((uint8_t *)((s)->sdl_data + (s)->sdl_nlen))
/haiku/src/system/libnetwork/netresolv/include/
H A Dnamespace.h10 #define CLLADDR(sdl) (const void *)((sdl)->sdl_data + (sdl)->sdl_nlen)
/haiku/src/kits/network/libnetapi/
H A DNetworkAddress.cpp291 + link.sdl_nlen + link.sdl_slen; in SetTo()
564 link.sdl_nlen = length; in SetToLinkLevel()
566 memcpy(link.sdl_data, name, link.sdl_nlen); in SetToLinkLevel()
569 if (link.sdl_nlen > sizeof(link.sdl_data)) in SetToLinkLevel()
570 link.sdl_len += link.sdl_nlen - sizeof(link.sdl_data); in SetToLinkLevel()
901 if (address.sdl_nlen == 0) in LinkLevelInterface()
905 name.SetTo((const char*)address.sdl_data, address.sdl_nlen); in LinkLevelInterface()
/haiku/src/add-ons/kernel/network/datalink_protocols/ethernet_frame/
H A Dethernet_frame.cpp56 source.sdl_nlen = source.sdl_slen = 0; in ethernet_deframe()
65 destination.sdl_nlen = destination.sdl_slen = 0; in ethernet_deframe()
/haiku/src/add-ons/kernel/network/stack/
H A Ddevice_interfaces.cpp323 address.sdl_nlen = strlen(interface->device->name); in get_device_interface_address()
325 memcpy(address.sdl_data, interface->device->name, address.sdl_nlen); in get_device_interface_address()
331 + address.sdl_nlen + address.sdl_alen; in get_device_interface_address()
H A Droutes.cpp224 if ((link->sdl_nlen > 0 in get_route_internal()
227 || (link->sdl_nlen == 0 && link->sdl_alen > 0 in get_route_internal()
H A Dinterfaces.cpp1507 || (linkAddress.sdl_nlen > 0 in get_interface_for_link()
1509 || (linkAddress.sdl_nlen == 0 && linkAddress.sdl_alen == 0 in get_interface_for_link()
/haiku/src/add-ons/kernel/network/datalink_protocols/ipv6_datagram/
H A Dipv6_datagram.cpp193 destination->sdl_nlen = destination->sdl_slen = 0; in ipv6_to_ether_multicast()
613 address.sdl_nlen = 0; in ndp_set_local_entry()
684 hardwareAddress.sdl_nlen = hardwareAddress.sdl_slen = 0; in ndp_receive_solicitation()
759 hardwareAddress.sdl_nlen = hardwareAddress.sdl_slen = 0; in ndp_receive_advertisement()
/haiku/src/add-ons/kernel/network/datalink_protocols/arp/
H A Darp.cpp239 destination->sdl_nlen = destination->sdl_slen = 0; in ipv4_to_ether_multicast()
454 address.sdl_nlen = 0; in arp_set_local_entry()
819 source.sdl_nlen = source.sdl_slen = 0; in arp_start_resolve()
858 hardwareAddress.sdl_nlen = hardwareAddress.sdl_slen = 0; in arp_control()
/haiku/src/libs/uuid/
H A Dgen_uuid.c209 a = (unsigned char *) &sdlp->sdl_data[sdlp->sdl_nlen]; in get_node_id()
/haiku/src/system/libnetwork/netresolv/net/
H A Dgetnameinfo.c549 if (sdl->sdl_nlen == 0 && sdl->sdl_alen == 0 && sdl->sdl_slen == 0) { in getnameinfo_link()
/haiku/src/libs/compat/freebsd_network/
H A Dif.c375 sdl->sdl_nlen = namelen; in if_attach()