Searched refs:alen (Results 1 - 8 of 8) sorted by relevance
/darwin-on-arm/xnu/bsd/net/ |
H A D | multicast_list.c | 99 int alen; local 108 alen = target_ifp->if_addrlen; 113 target_sdl.sdl_alen = alen; 137 bcopy(LLADDR(&source_sdl), LLADDR(&target_sdl), alen); local
|
H A D | if_llreach.c | 266 unsigned int alen) 270 VERIFY(alen == IF_LLREACH_MAXLEN); /* for now */ 290 unsigned int alen, u_int64_t llreach_base) 298 VERIFY(alen == IF_LLREACH_MAXLEN); /* for now */ 265 ifnet_llreach_set_reachable(struct ifnet *ifp, u_int16_t llproto, void *addr, unsigned int alen) argument 289 ifnet_llreach_alloc(struct ifnet *ifp, u_int16_t llproto, void *addr, unsigned int alen, u_int64_t llreach_base) argument
|
H A D | if.c | 2804 int alen = 0; local 2831 alen = sdl_original->sdl_alen; 2842 alen = ETHER_ADDR_LEN; 2848 if (alen == 0 || aptr == NULL) 2851 len = alen + offsetof(struct sockaddr_dl, sdl_data); 2858 sdl_new->sdl_alen = alen; 2859 bcopy(aptr, LLADDR(sdl_new), alen);
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | icmp6.c | 1698 ni6_dnsmatch(a, alen, b, blen) 1700 int alen; 1708 if (alen == blen && bcmp(a, b, alen) == 0) 1715 if (alen < 2 || blen < 2) 1717 if (a0[alen - 1] != '\0' || b0[blen - 1] != '\0') 1719 alen--; 1722 while (a - a0 < alen && b - b0 < blen) { 1723 if (a - a0 + 1 > alen || b - b0 + 1 > blen) 1733 if (a[0] == 0 && a - a0 == alen [all...] |
H A D | nd6_nbr.c | 175 unsigned int alen, boolean_t solicited) 183 alen == ifp->if_addrlen) { 198 if (bcmp(addr, lr->lr_key.addr, alen) != 0) { 218 ETHERTYPE_IPV6, addr, alen, nd6_llreach_base); 2161 nd6_llreach_set_reachable(struct ifnet *ifp, void *addr, unsigned int alen) argument 2167 ifnet_llreach_set_reachable(ifp, ETHERTYPE_IPV6, addr, alen); 174 nd6_llreach_alloc(struct rtentry *rt, struct ifnet *ifp, void *addr, unsigned int alen, boolean_t solicited) argument
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_arp.c | 340 arp_llreach_set_reachable(struct ifnet *ifp, void *addr, unsigned int alen) argument 346 ifnet_llreach_set_reachable(ifp, ETHERTYPE_IP, addr, alen); 425 unsigned int alen, boolean_t solicited) 432 alen == ifp->if_addrlen) { 447 if (bcmp(addr, lr->lr_key.addr, alen) != 0) { 467 ETHERTYPE_IP, addr, alen, arp_llreach_base); 424 arp_llreach_alloc(struct rtentry *rt, struct ifnet *ifp, void *addr, unsigned int alen, boolean_t solicited) argument
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | uipc_syscalls.c | 1717 error = copyin(uap->alen, (caddr_t)&len, sizeof (socklen_t)); 1748 error = copyout((caddr_t)&len, uap->alen, sizeof (socklen_t)); 1805 error = copyin(uap->alen, (caddr_t)&len, sizeof (socklen_t)); 1832 error = copyout((caddr_t)&len, uap->alen, sizeof (socklen_t));
|
/darwin-on-arm/xnu/bsd/netkey/ |
H A D | key.c | 7689 u_int len, alen, elen; local 7695 alen = 0; 7698 alen += sizeof(struct sadb_alg); 7700 if (alen) 7701 alen += sizeof(struct sadb_supported); 7712 len = sizeof(struct sadb_msg) + alen + elen; 7739 if (alen) { 7741 sup->sadb_supported_len = PFKEY_UNIT64(alen);
|
Completed in 124 milliseconds