/src/sys/netinet/ |
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...] |
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...] |
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/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.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);
|