Searched refs:faddr (Results 1 - 8 of 8) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dtcp_lro.h77 #define LRO_HASH(faddr, laddr, fport, lport, mask) \
78 (((faddr) ^ ((laddr) >> 16) ^ ntohs((lport) ^ (fport))) & (mask))
H A Din_pcb.h532 #define INP_PCBHASH(faddr, lport, fport, mask) \
533 (((faddr) ^ ((faddr) >> 16) ^ ntohs((lport) ^ (fport))) & (mask))
H A Dudp_usrreq.c881 struct in_addr faddr; local
884 faddr = ((struct sockaddr_in *)(void *)sa)->sin_addr;
885 if (sa->sa_family != AF_INET || faddr.s_addr == INADDR_ANY)
899 inp = in_pcblookup_hash(&udbinfo, faddr, uh.uh_dport,
912 in_pcbnotifyall(&udbinfo, faddr, inetctlerrmap[cmd], notify);
1305 struct in_addr origladdr, laddr, faddr, pi_laddr; local
1426 faddr = inp->inp_faddr;
1432 if (faddr.s_addr != INADDR_ANY) {
1451 faddr = inp->inp_faddr;
1474 faddr
[all...]
H A Din_pcb.c1164 in_pcbnotifyall(struct inpcbinfo *pcbinfo, struct in_addr faddr, argument
1176 if (inp->inp_faddr.s_addr != faddr.s_addr ||
1360 struct in_addr faddr,
1386 head = &pcbinfo->hashbase[INP_PCBHASH(faddr.s_addr, lport, fport,
1398 if (inp->inp_faddr.s_addr == faddr.s_addr &&
1498 struct in_addr faddr,
1518 head = &pcbinfo->hashbase[INP_PCBHASH(faddr.s_addr, lport, fport, pcbinfo->hashmask)];
1529 if (inp->inp_faddr.s_addr == faddr.s_addr &&
1692 * Move PCB to the proper hash bucket when { faddr, fport } have been
1358 in_pcblookup_hash_exists( struct inpcbinfo *pcbinfo, struct in_addr faddr, u_int fport_arg, struct in_addr laddr, u_int lport_arg, int wildcard, uid_t *uid, gid_t *gid, struct ifnet *ifp) argument
1496 in_pcblookup_hash( struct inpcbinfo *pcbinfo, struct in_addr faddr, u_int fport_arg, struct in_addr laddr, u_int lport_arg, int wildcard, struct ifnet *ifp) argument
H A Dtcp_subr.c1713 struct in_addr faddr; local
1719 faddr = ((struct sockaddr_in *)(void *)sa)->sin_addr;
1720 if (sa->sa_family != AF_INET || faddr.s_addr == INADDR_ANY)
1746 inp = in_pcblookup_hash(&tcbinfo, faddr, th.th_dport,
1815 in_pcbnotifyall(&tcbinfo, faddr, inetctlerrmap[cmd], notify);
/darwin-on-arm/xnu/bsd/netinet6/
H A Dudp6_output.c178 struct in6_addr *laddr, *faddr; local
244 faddr = &sin6->sin6_addr;
247 if (IN6_IS_ADDR_V4MAPPED(faddr)) {
272 if (!IN6_IS_ADDR_V4MAPPED(faddr)) {
308 faddr = &in6p->in6p_faddr;
354 ip6->ip6_dst = *faddr;
356 udp6->uh_sum = in6_cksum_phdr(laddr, faddr,
H A Din6_pcb.c1042 struct in6_addr *faddr,
1064 head = &pcbinfo->hashbase[INP_PCBHASH(faddr->s6_addr32[3] /* XXX */,
1076 if (IN6_ARE_ADDR_EQUAL(&inp->in6p_faddr, faddr) &&
1149 struct in6_addr *faddr,
1165 head = &pcbinfo->hashbase[INP_PCBHASH(faddr->s6_addr32[3] /* XXX */,
1177 if (IN6_ARE_ADDR_EQUAL(&inp->in6p_faddr, faddr) &&
1040 in6_pcblookup_hash_exists( struct inpcbinfo *pcbinfo, struct in6_addr *faddr, u_int fport_arg, struct in6_addr *laddr, u_int lport_arg, int wildcard, uid_t *uid, gid_t *gid, struct ifnet *ifp) argument
1147 in6_pcblookup_hash( struct inpcbinfo *pcbinfo, struct in6_addr *faddr, u_int fport_arg, struct in6_addr *laddr, u_int lport_arg, int wildcard, __unused struct ifnet *ifp) argument
/darwin-on-arm/xnu/bsd/netat/
H A Dddp_usrreq.c309 struct sockaddr_at *faddr = (struct sockaddr_at *) nam; local
317 if (faddr->sat_family != AF_APPLETALK)
320 pcb->raddr = faddr->sat_addr;

Completed in 85 milliseconds