| /freebsd-14.2/usr.bin/whois/ |
| H A D | whois.c | 450 char *buf, *host, *nhost, *nport, *p; in whois() local 541 s_asprintf(&nport, "%s", port); in whois() 548 s_asprintf(&nport, "%.*s", in whois() 562 s_asprintf(&nport, "%s", port); in whois() 590 free(nport); in whois() 591 nport = NULL; in whois() 600 s_asprintf(&nport, "%s", port); in whois() 609 whois(query, nhost, nport, flags); in whois() 612 free(nport); in whois()
|
| /freebsd-14.2/sys/netpfil/pf/ |
| H A D | pf_lb.c | 229 if (*nport == htons(ICMP_ECHO)) { in pf_get_sport() 237 if (*nport == htons(ICMP6_ECHO_REQUEST)) { in pf_get_sport() 261 *nport = sport; in pf_get_sport() 274 *nport = sport; in pf_get_sport() 280 *nport = htons(low); in pf_get_sport() 298 *nport = htons(tmp); in pf_get_sport() 306 *nport = htons(tmp); in pf_get_sport() 603 uint16_t *nport; in pf_get_translation() local 648 nport = &(*nkp)->port[1]; in pf_get_translation() 765 *nport = htons((uint16_t)tmp_nport); in pf_get_translation() [all …]
|
| /freebsd-14.2/sys/cam/ctl/ |
| H A D | ctl_frontend.c | 149 struct ctl_port *tport, *nport; in ctl_port_register() local 210 for (tport = NULL, nport = STAILQ_FIRST(&softc->port_list); in ctl_port_register() 211 nport != NULL && nport->targ_port < port_num; in ctl_port_register() 212 tport = nport, nport = STAILQ_NEXT(tport, links)) { in ctl_port_register()
|
| H A D | ctl.c | 4866 struct ctl_port *port, *nport; in ctl_enable_lun() local 4878 STAILQ_FOREACH_SAFE(port, &softc->port_list, links, nport) { in ctl_enable_lun()
|
| /freebsd-14.2/sys/dev/fdc/ |
| H A D | fdc_isa.c | 80 int i, j, rid, newrid, nport; in fdc_isa_alloc_resources() local 88 nport = isa_get_logicalid(dev) ? 1 : 6; in fdc_isa_alloc_resources() 92 rid == 0 ? nport : 1, RF_ACTIVE); in fdc_isa_alloc_resources()
|
| /freebsd-14.2/tools/tools/netmap/ |
| H A D | pkt-gen.c | 835 uint16_t oport, nport; in update_ip() local 853 nport = oport + 1; in update_ip() 858 nport = g->src_ip.port0; in update_ip() 882 nport = oport + 1; in update_ip() 922 uint16_t oport, nport; in update_ip6() local 940 nport = oport + 1; in update_ip6() 944 nport = g->src_ip.port0; in update_ip6() 957 if (oport != nport) in update_ip6() 972 nport = oport + 1; in update_ip6() 976 nport = g->dst_ip.port0; in update_ip6() [all …]
|
| /freebsd-14.2/sys/netinet/ |
| H A D | ip_divert.c | 171 u_int16_t nport; in divert_packet() local 181 nport = htons((uint16_t) in divert_packet() 185 nport = htons(((struct pf_divert_mtag *)(mtag+1))->port); in divert_packet() 276 SLIST_FOREACH(dcb, &V_divhash[DIVHASH(nport)], dcb_next) in divert_packet() 277 if (dcb->dcb_port == nport) in divert_packet()
|
| /freebsd-14.2/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-14.2/sys/dev/firewire/ |
| H A D | firewirereg.h | 54 uint8_t nport; member 102 u_int nport; member
|
| H A D | fwohci.c | 436 sc->fc.nport = reg & FW_PHY_NP; 445 linkspeed[sc->fc.speed], sc->fc.nport); 449 sc->fc.nport = reg & FW_PHY_NP; 458 linkspeed[sc->fc.speed], sc->fc.nport);
|
| /freebsd-14.2/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_nat6.c | 725 u_short nport, dport, sport; in ipf_nat6_newrdr() local 836 nport = dport; in ipf_nat6_newrdr() 844 nport = ntohs(dport) - np->in_odport + np->in_dpmax; in ipf_nat6_newrdr() 845 nport = htons(nport); in ipf_nat6_newrdr() 847 nport = htons(np->in_dpnext); in ipf_nat6_newrdr() 860 if (nport == dport) { in ipf_nat6_newrdr() 875 fin->fin_data[0] = ntohs(nport); in ipf_nat6_newrdr() 897 nat->nat_ndport = nport; in ipf_nat6_newrdr() 900 ((tcphdr_t *)fin->fin_dp)->th_dport = nport; in ipf_nat6_newrdr() 903 ((struct icmp6_hdr *)fin->fin_dp)->icmp6_id = nport; in ipf_nat6_newrdr() [all …]
|
| H A D | ip_nat.c | 2822 u_short nport, dport, sport; in ipf_nat_newrdr() local 2931 nport = dport; in ipf_nat_newrdr() 2939 nport = ntohs(dport) - np->in_odport + np->in_dpmax; in ipf_nat_newrdr() 2940 nport = htons(nport); in ipf_nat_newrdr() 2942 nport = htons(np->in_dpnext); in ipf_nat_newrdr() 2955 if (nport == dport) { in ipf_nat_newrdr() 2971 fin->fin_data[0] = ntohs(nport); in ipf_nat_newrdr() 2993 nat->nat_ndport = nport; in ipf_nat_newrdr() 2996 ((tcphdr_t *)fin->fin_dp)->th_dport = nport; in ipf_nat_newrdr() 2999 ((icmphdr_t *)fin->fin_dp)->icmp_id = nport; in ipf_nat_newrdr() [all …]
|
| H A D | ip_ftp_pxy.c | 430 ftpinfo_t *ftp, int dlen, int nport, int inc) in ipf_p_ftp_addport() argument 461 sp = nport; in ipf_p_ftp_addport()
|
| /freebsd-14.2/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-14.2/sbin/ipf/ipnat/ |
| H A D | ipnat_y.y | 328 redir: rdrit ifnames addr dport tlate dip nport setproto rdroptions 356 | rdrit ifnames rdrfrom tlate dip nport setproto rdroptions 737 nport: | port portpair { nat->in_dpmin = $2.p1;
|
| /freebsd-14.2/sys/conf/ |
| H A D | NOTES | 1583 envvar hint.isp.0.topology="nport" 1585 envvar hint.isp.0.topology="nport-only"
|