| /freebsd-12.1/sys/cam/ctl/ |
| H A D | ctl_frontend.c | 151 struct ctl_port *tport, *nport; in ctl_port_register() local 212 for (tport = NULL, nport = STAILQ_FIRST(&softc->port_list); in ctl_port_register() 213 nport != NULL && nport->targ_port < port_num; in ctl_port_register() 214 tport = nport, nport = STAILQ_NEXT(tport, links)) { in ctl_port_register()
|
| H A D | ctl.c | 4828 struct ctl_port *port, *nport; in ctl_enable_lun() local 4849 STAILQ_FOREACH_SAFE(port, &softc->port_list, links, nport) { in ctl_enable_lun()
|
| /freebsd-12.1/sys/netpfil/pf/ |
| H A D | pf_lb.c | 217 uint16_t dport, struct pf_addr *naddr, uint16_t *nport, uint16_t low, in pf_get_sport() argument 253 *nport = sport; in pf_get_sport() 259 *nport = htons(low); in pf_get_sport() 278 *nport = htons(tmp); in pf_get_sport() 287 *nport = htons(tmp); in pf_get_sport() 528 uint16_t *nport; in pf_get_translation() local 572 nport = &(*nkp)->port[1]; in pf_get_translation() 577 dport, naddr, nport, r->rpool.proxy_port[0], in pf_get_translation() 668 *nport = htons((uint16_t)tmp_nport); in pf_get_translation() 670 *nport = htons(r->rpool.proxy_port[0]); in pf_get_translation()
|
| /freebsd-12.1/tools/tools/netmap/ |
| H A D | pkt-gen.c | 803 uint16_t oport, nport; in update_ip() local 820 nport = oport + 1; in update_ip() 824 nport = g->src_ip.port0; in update_ip() 841 if (oport != nport) { in update_ip() 856 nport = oport + 1; in update_ip() 877 if (oport != nport) { in update_ip() 902 uint16_t oport, nport; in update_ip6() local 920 nport = oport + 1; in update_ip6() 937 if (oport != nport) in update_ip6() 952 nport = oport + 1; in update_ip6() [all …]
|
| /freebsd-12.1/sys/dev/fdc/ |
| H A D | fdc_isa.c | 83 int i, j, rid, newrid, nport; in fdc_isa_alloc_resources() local 91 nport = isa_get_logicalid(dev) ? 1 : 6; in fdc_isa_alloc_resources() 95 rid == 0 ? nport : 1, RF_ACTIVE); in fdc_isa_alloc_resources()
|
| /freebsd-12.1/stand/i386/libfirewire/ |
| H A D | fwohci.c | 135 int nport, speed; local 149 nport = reg & FW_PHY_NP; 158 linkspeed[speed], nport); 161 nport = reg & FW_PHY_NP; 170 linkspeed[speed], nport);
|
| /freebsd-12.1/crypto/heimdal/lib/ipc/ |
| H A D | client.c | 123 mach_port_t nport; in mach_ipc() local 125 ret = bootstrap_look_up(bootstrap_port, ipc->name, &nport); in mach_ipc() 131 mach_port_deallocate(mach_task_self(), nport); in mach_ipc() 134 ipc->server = nport; in mach_ipc()
|
| /freebsd-12.1/sys/dev/firewire/ |
| H A D | firewirereg.h | 56 uint8_t nport; member 104 u_int nport; member
|
| H A D | fwohci.c | 437 sc->fc.nport = reg & FW_PHY_NP; 446 linkspeed[sc->fc.speed], sc->fc.nport); 450 sc->fc.nport = reg & FW_PHY_NP; 459 linkspeed[sc->fc.speed], sc->fc.nport);
|
| /freebsd-12.1/sys/netinet/ |
| H A D | ip_divert.c | 192 u_int16_t nport; in divert_packet() local 275 nport = htons((u_int16_t)(((struct ipfw_rule_ref *)(mtag+1))->info)); in divert_packet() 279 if (inp->inp_lport == nport) { in divert_packet()
|
| /freebsd-12.1/contrib/tnftp/src/ |
| H A D | fetch.c | 436 unsigned long nport; in parse_url() local 438 nport = strtoul(cp, &ep, 10); in parse_url() 440 nport < 1 || nport > MAX_IN_PORT_T) { in parse_url() 445 *portnum = nport; in parse_url()
|
| /freebsd-12.1/sys/contrib/ipfilter/netinet/ |
| H A D | ip_nat6.c | 744 u_short nport, dport, sport; local 855 nport = dport; 863 nport = ntohs(dport) - np->in_odport + np->in_dpmax; 864 nport = htons(nport); 866 nport = htons(np->in_dpnext); 879 if (nport == dport) { 894 fin->fin_data[0] = ntohs(nport); 916 nat->nat_ndport = nport; 919 ((tcphdr_t *)fin->fin_dp)->th_dport = nport; 922 ((struct icmp6_hdr *)fin->fin_dp)->icmp6_id = nport; [all …]
|
| H A D | ip_nat.c | 2878 u_short nport, dport, sport; local 2987 nport = dport; 2995 nport = ntohs(dport) - np->in_odport + np->in_dpmax; 2996 nport = htons(nport); 2998 nport = htons(np->in_dpnext); 3011 if (nport == dport) { 3027 fin->fin_data[0] = ntohs(nport); 3049 nat->nat_ndport = nport; 3052 ((tcphdr_t *)fin->fin_dp)->th_dport = nport; 3055 ((icmphdr_t *)fin->fin_dp)->icmp_id = nport; [all …]
|
| H A D | ip_ftp_pxy.c | 452 ipf_p_ftp_addport(softf, fin, ip, nat, ftp, dlen, nport, inc) in ipf_p_ftp_addport() argument 458 int dlen, nport, inc; 489 sp = nport;
|
| /freebsd-12.1/contrib/ipfilter/tools/ |
| H A D | ipnat_y.y | 329 redir: rdrit ifnames addr dport tlate dip nport setproto rdroptions 357 | rdrit ifnames rdrfrom tlate dip nport setproto rdroptions 738 nport: | port portpair { nat->in_dpmin = $2.p1;
|
| /freebsd-12.1/sys/conf/ |
| H A D | NOTES | 1608 hint.isp.0.topology="nport" 1610 hint.isp.0.topology="nport-only"
|