/src/sys/netinet/ |
tcp_vtw.h | 93 * searched by faddr, fport, laddr, lport. The key is a function of 225 uint16_t fport; member in struct:vtw_v4 235 uint16_t fport; member in struct:vtw_v6 320 v4_tag(uint32_t faddr, uint32_t fport, uint32_t laddr, uint32_t lport) 322 return (ntohl(faddr) + ntohs(fport) 327 v6_tag(const struct in6_addr *faddr, uint16_t fport, 331 return IN6_HASH(faddr, fport, laddr, lport); 364 uint32_t faddr, uint16_t fport, 370 const struct in6_addr *faddr, uint16_t fport, 378 uint16_t fport, lport member in struct:vestigial_inpcb [all...] |
tcp_vtw.c | 529 tag = v4_tag(v4->faddr, v4->fport, v4->laddr, v4->lport); 531 tag = v6_tag(&v6->faddr, v6->fport, &v6->laddr, v6->lport); 717 tag = v4_tag(v4->faddr, v4->fport, 725 , v4->faddr, v4->fport 756 tag = v6_tag(&v6->faddr, v6->fport, 773 vtw_lookup_hash_v4(vtw_ctl_t *ctl, uint32_t faddr, uint16_t fport 793 tag = v4_tag(faddr, fport, laddr, lport); 822 , faddr, fport 838 && v4->fport == fport)) [all...] |
in_pcb.c | 149 #define INPCBHASH_CONNECT(table, faddr, fport, laddr, lport) \ 151 ((ntohl((faddr).s_addr) + ntohs(fport)) + \ 775 in_port_t fport = fport_arg, lport = lport_arg; local in function:inpcb_notify 782 head = INPCBHASH_CONNECT(table, faddr, fport, laddr, lport); 788 inp->inp_fport == fport && 1073 in_port_t fport = fport_arg, lport = lport_arg; local in function:inpcb_lookup 1078 head = INPCBHASH_CONNECT(table, faddr, fport, laddr, lport); 1084 inp->inp_fport == fport && 1097 printf("inpcb_lookup: faddr=%08x fport=%d laddr=%08x lport=%d\n", 1098 ntohl(faddr.s_addr), ntohs(fport), [all...] |
in_pcb.h | 328 #define IN6_HASH(faddr, fport, laddr, lport) \ 333 + (fport) + (lport))
|
tcp_subr.c | 2012 tcp_new_iss1(void *laddr, void *faddr, u_int16_t lport, u_int16_t fport, 2038 MD5Update(&ctx, (u_char *) &fport, sizeof(fport));
|
in.c | 1888 in_port_t fport = sin->sin_port; local in function:in_selectsrc 1894 sin->sin_port = fport;
|
/src/libexec/identd/ |
identd.c | 333 int lport, fport; local in function:idhandle 339 lport = fport = 0; 397 fport = atoi(p); 401 if (lport < 1 || lport > 65535 || fport < 1 || fport > 65535) { 403 lport, fport, gethost((struct sockaddr *)&ss[0])); 412 idparse(fd, lport, fport, charset, osname, idbuf); 419 satosin(&ss[0])->sin_port = htons(fport); 423 satosin6(&ss[0])->sin6_port = htons(fport); 442 nat_lport, fport, lport)) [all...] |
/src/sys/net/ |
toeplitz.c | 181 in_addr_t faddr, in_addr_t laddr, in_port_t fport, in_port_t lport) 183 return (stoeplitz_hash_n32(scache, faddr ^ laddr ^ fport ^ lport)); 203 in_port_t fport, in_port_t lport) 211 n32 ^= fport ^ lport;
|
/src/sys/netinet6/ |
in6_pcb.c | 119 #define IN6PCBHASH_CONNECT(table, faddr, fport, laddr, lport) \ 122 (faddr)->s6_addr32[2] ^ (faddr)->s6_addr32[3]) + ntohs(fport)) + \ 609 in_port_t fport = fport_arg, lport = lport_arg; local in function:in6pcb_notify 636 fport = 0; 724 if (lport == 0 && fport == 0 && flowinfo && 736 (fport && inp->inp_fport != fport)) 1050 in_port_t fport = fport_arg, lport = lport_arg; local in function:in6pcb_lookup 1055 head = IN6PCBHASH_CONNECT(table, faddr6, fport, laddr6, lport); 1061 if (inp->inp_fport != fport) [all...] |
udp6_usrreq.c | 747 u_int16_t fport; local in function:udp6_output 820 fport = sin6->sin6_port; /* allow 0 port */ 961 fport = inp->inp_fport; 982 udp6->uh_dport = fport;
|
/src/usr.bin/netstat/ |
inet.c | 134 struct in_addr *faddr, uint16_t fport, 154 inetprint(faddr, fport, name, 1); 157 inetprint(faddr, fport, name, 0); 160 inetprint(faddr, fport, name, 0); 209 buf[1], ntohs(v4->fport)); 217 buf[1], ntohs(v4->fport)); 222 buf[1], ntohs(v4->fport), 227 &fa, v4->fport,
|
inet6.c | 192 const struct in6_addr *faddr, uint16_t fport, 210 inet6print(faddr, (int)fport, name); 262 buf[1], ntohs(v6->fport)); 270 buf[1], ntohs(v6->fport)); 275 buf[1], ntohs(v6->fport), 280 &v6->faddr, v6->fport,
|
/src/usr.sbin/npf/npfctl/ |
npf_show.c | 284 unsigned fport = words[0], tport = words[1]; local in function:print_portrange 287 if (fport != tport) { 288 easprintf(&p, "%u-%u", fport, tport); 290 easprintf(&p, "%u", fport);
|