Searched refs:sdl_nlen (Results 1 – 12 of 12) sorted by relevance
19 uint8_t sdl_nlen; /* interface name length (not terminated with a null byte) */ member26 #define LLADDR(s) ((uint8_t *)((s)->sdl_data + (s)->sdl_nlen))
10 #define CLLADDR(sdl) (const void *)((sdl)->sdl_data + (sdl)->sdl_nlen)
291 + 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()
56 source.sdl_nlen = source.sdl_slen = 0; in ethernet_deframe()65 destination.sdl_nlen = destination.sdl_slen = 0; in ethernet_deframe()
323 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()
224 if ((link->sdl_nlen > 0 in get_route_internal()227 || (link->sdl_nlen == 0 && link->sdl_alen > 0 in get_route_internal()
1507 || (linkAddress.sdl_nlen > 0 in get_interface_for_link()1509 || (linkAddress.sdl_nlen == 0 && linkAddress.sdl_alen == 0 in get_interface_for_link()
193 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()
239 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()
209 a = (unsigned char *) &sdlp->sdl_data[sdlp->sdl_nlen]; in get_node_id()
549 if (sdl->sdl_nlen == 0 && sdl->sdl_alen == 0 && sdl->sdl_slen == 0) { in getnameinfo_link()
375 sdl->sdl_nlen = namelen; in if_attach()