/src/sys/external/bsd/ipf/netinet/ |
ip_nat6.c | 730 u_short nport, dport, sport; local in function:ipf_nat6_newrdr 841 nport = dport; 849 nport = ntohs(dport) - np->in_odport + np->in_dpmax; 850 nport = htons(nport); 852 nport = htons(np->in_dpnext); 865 if (nport == dport) { 880 fin->fin_data[0] = ntohs(nport); 902 nat->nat_ndport = nport; 905 ((tcphdr_t *)fin->fin_dp)->th_dport = nport; [all...] |
ip_nat.c | 2854 u_short nport, dport, sport; local in function:ipf_nat_newrdr 2962 nport = dport; 2970 nport = ntohs(dport) - np->in_odport + np->in_dpmax; 2971 nport = htons(nport); 2973 nport = htons(np->in_dpnext); 2986 if (nport == dport) { 3002 fin->fin_data[0] = ntohs(nport); 3023 nat->nat_ndport = nport; 3026 ((tcphdr_t *)fin->fin_dp)->th_dport = nport; [all...] |
/src/sys/dev/ieee1394/ |
firewirereg.h | 53 uint8_t nport; member in struct:fw_device 111 u_int nport; member in struct:firewire_comm
|
/src/usr.bin/ftp/ |
fetch.c | 584 unsigned long nport; local in function:parse_url 586 nport = strtoul(cp, &ep, 10); 588 nport < 1 || nport > MAX_IN_PORT_T) { 593 ui->portnum = (in_port_t)nport;
|
/src/sys/dev/pci/ |
if_kse.c | 1502 int nport, p, i, reg, val; local in function:stat_tick 1504 nport = (sc->sc_chip == 0x8842) ? 3 : 1; 1505 for (p = 0; p < nport; p++) { 1536 int nport, p, i, reg, val; local in function:zerostats 1539 nport = (sc->sc_chip == 0x8842) ? 3 : 1; 1540 for (p = 0; p < nport; p++) {
|
/src/sys/dist/pf/net/ |
pf.c | 2433 struct pf_addr *naddr, u_int16_t *nport, u_int16_t low, u_int16_t high, 2466 key.gwy.port = *nport; 2472 *nport = htons(low); 2490 *nport = htons(tmp); 2498 *nport = htons(tmp); 2607 struct pf_addr *naddr, u_int16_t *nport) 2633 daddr, dport, naddr, nport, r->rpool.proxy_port[0], 2740 *nport = htons((u_int16_t)tmp_nport); 2742 *nport = htons(r->rpool.proxy_port[0]); 3077 u_int16_t bport, nport = 0 local in function:pf_test_rule [all...] |