Home
last modified time | relevance | path

Searched refs:nport (Results 1 – 16 of 16) sorted by relevance

/freebsd-12.1/sys/cam/ctl/
H A Dctl_frontend.c151 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 Dctl.c4828 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 Dpf_lb.c217 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 Dpkt-gen.c803 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 Dfdc_isa.c83 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 Dfwohci.c135 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 Dclient.c123 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 Dfirewirereg.h56 uint8_t nport; member
104 u_int nport; member
H A Dfwohci.c437 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 Dip_divert.c192 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 Dfetch.c436 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 Dip_nat6.c744 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 Dip_nat.c2878 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 Dip_ftp_pxy.c452 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 Dipnat_y.y329 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 DNOTES1608 hint.isp.0.topology="nport"
1610 hint.isp.0.topology="nport-only"