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

/freebsd-10-stable/sys/cam/ctl/
H A Dctl_frontend.c147 struct ctl_port *tport, *nport; local
208 for (tport = NULL, nport = STAILQ_FIRST(&softc->port_list);
209 nport != NULL && nport->targ_port < port_num;
210 tport = nport, nport = STAILQ_NEXT(tport, links)) {
H A Dctl.c4795 struct ctl_port *port, *nport; local
4816 STAILQ_FOREACH_SAFE(port, &softc->port_list, links, nport) {
/freebsd-10-stable/sys/dev/fdc/
H A Dfdc_isa.c81 int i, j, rid, newrid, nport; local
89 nport = isa_get_logicalid(dev) ? 1 : 6;
93 0ul, ~0ul, rid == 0 ? nport : 1, RF_ACTIVE);
/freebsd-10-stable/sys/boot/i386/libfirewire/
H A Dfwohci.c140 int nport, speed; local
154 nport = reg & FW_PHY_NP;
163 linkspeed[speed], nport);
166 nport = reg & FW_PHY_NP;
175 linkspeed[speed], nport);
/freebsd-10-stable/sys/netpfil/pf/
H A Dpf_lb.c212 uint16_t dport, struct pf_addr *naddr, uint16_t *nport, uint16_t low,
249 *nport = sport;
255 *nport = htons(low);
273 *nport = htons(tmp);
281 *nport = htons(tmp);
516 uint16_t *nport; local
560 nport = &(*nkp)->port[1];
565 dport, naddr, nport, r->rpool.proxy_port[0],
656 *nport = htons((uint16_t)tmp_nport);
658 *nport
210 pf_get_sport(sa_family_t af, u_int8_t proto, struct pf_rule *r, struct pf_addr *saddr, uint16_t sport, struct pf_addr *daddr, uint16_t dport, struct pf_addr *naddr, uint16_t *nport, uint16_t low, uint16_t high, struct pf_src_node **sn) argument
[all...]
/freebsd-10-stable/sys/dev/si/
H A Dsi.c284 int nmodule, nport, x, y; local
467 nport = 0;
515 if ((nport + x) > SI_MAXPORTPERCARD) {
520 nport += x;
530 sc->sc_ports = (struct si_port *)malloc(sizeof(struct si_port) * nport,
537 sc->sc_nport = nport;
549 nport = 4;
552 nport = 8;
555 nport = 4;
558 nport
[all...]
/freebsd-10-stable/crypto/heimdal/lib/ipc/
H A Dclient.c123 mach_port_t nport; local
125 ret = bootstrap_look_up(bootstrap_port, ipc->name, &nport);
131 mach_port_deallocate(mach_task_self(), nport);
134 ipc->server = nport;
/freebsd-10-stable/sys/dev/firewire/
H A Dfirewirereg.h62 uint8_t nport; member in struct:fw_device
112 u_int nport; member in struct:firewire_comm
H A Dfwohci.c447 sc->fc.nport = reg & FW_PHY_NP;
456 linkspeed[sc->fc.speed], sc->fc.nport);
460 sc->fc.nport = reg & FW_PHY_NP;
469 linkspeed[sc->fc.speed], sc->fc.nport);
/freebsd-10-stable/sys/netinet/
H A Dip_divert.c194 u_int16_t nport; local
276 nport = htons((u_int16_t)(((struct ipfw_rule_ref *)(mtag+1))->info));
280 if (inp->inp_lport == nport) {
/freebsd-10-stable/usr.sbin/sicontrol/
H A Dsicontrol.c86 void nport(int, char **);
101 {"nport", nport},
129 "nport\n",
393 nport(int ac, char **av) function
/freebsd-10-stable/contrib/tnftp/src/
H A Dfetch.c436 unsigned long nport; local
438 nport = strtoul(cp, &ep, 10);
440 nport < 1 || nport > MAX_IN_PORT_T) {
445 *portnum = nport;
/freebsd-10-stable/sys/contrib/ipfilter/netinet/
H A Dip_nat6.c750 u_short nport, dport, sport; local
861 nport = dport;
869 nport = ntohs(dport) - np->in_odport + np->in_dpmax;
870 nport = htons(nport);
872 nport = htons(np->in_dpnext);
885 if (nport == dport) {
900 fin->fin_data[0] = ntohs(nport);
922 nat->nat_ndport = nport;
925 ((tcphdr_t *)fin->fin_dp)->th_dport = nport;
[all...]
H A Dip_nat.c2894 u_short nport, dport, sport; local
3003 nport = dport;
3011 nport = ntohs(dport) - np->in_odport + np->in_dpmax;
3012 nport = htons(nport);
3014 nport = htons(np->in_dpnext);
3027 if (nport == dport) {
3043 fin->fin_data[0] = ntohs(nport);
3065 nat->nat_ndport = nport;
3068 ((tcphdr_t *)fin->fin_dp)->th_dport = nport;
[all...]
H A Dip_ftp_pxy.c452 ipf_p_ftp_addport(softf, fin, ip, nat, ftp, dlen, nport, inc)
458 int dlen, nport, inc;
489 sp = nport;
/freebsd-10-stable/contrib/ipfilter/tools/
H A Dipnat_y.y341 redir: rdrit ifnames addr dport tlate dip nport setproto rdroptions
369 | rdrit ifnames rdrfrom tlate dip nport setproto rdroptions
750 nport: | port portpair { nat->in_dpmin = $2.p1; label

Completed in 448 milliseconds