Searched refs:dport (Results 26 - 50 of 56) sorted by relevance

123

/freebsd-11.0-release/contrib/tcpdump/
H A Dprint-icmp.c345 u_int hlen, dport, mtu, obj_tlen, obj_class_num, obj_ctype; local
385 dport = EXTRACT_16BITS(&ouh->uh_dport);
392 tcpport_string(dport));
399 udpport_string(dport));
406 oip->ip_p, dport);
H A Dprint-rx.c480 int dport; /* server port (host order) */ member in struct:rx_cache_entry
524 register const u_char *bp, int length, int sport, int dport,
591 rx_cache_insert(ndo, bp, (const struct ip *) bp2, dport);
593 switch (dport) {
678 const u_char *bp, const struct ip *ip, int dport)
694 rxent->dport = dport;
724 rxent->dport == sport) {
523 rx_print(netdissect_options *ndo, register const u_char *bp, int length, int sport, int dport, u_char *bp2) argument
677 rx_cache_insert(netdissect_options *ndo, const u_char *bp, const struct ip *ip, int dport) argument
H A Dprint-icmp6.c896 int dport; local
956 dport = EXTRACT_16BITS(&ouh->uh_dport);
961 tcpport_string(dport)));
966 udpport_string(dport)));
971 oip->ip6_nxt, dport));
/freebsd-11.0-release/sys/netinet/libalias/
H A Dalias_nbt.c83 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL ||
86 if (ntohs(*ah->dport) == NETBIOS_DGM_PORT_NUMBER
103 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL ||
106 if (ntohs(*ah->dport) == NETBIOS_NS_PORT_NUMBER
117 ah->oaddr, ah->dport);
H A Dalias_pptp.c85 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL)
87 if (ntohs(*ah->dport) == PPTP_CONTROL_PORT_NUMBER
H A Dalias_skinny.c63 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL)
66 ntohs(*ah->dport) == la->skinnyPort))
H A Dalias.c752 .dport = &ud->uh_dport,
869 .dport = &ud->uh_dport,
948 .dport = &tc->th_dport,
974 .dport = &ud->uh_dport,
1095 .dport = &tc->th_dport,
1357 .dport = NULL,
1507 .dport = NULL,
/freebsd-11.0-release/sbin/setkey/
H A Dparse.y1207 fix_portstr(spec, sport, dport)
1208 vchar_t *spec, *sport, *dport;
1237 dport->buf = strdup(p2);
1238 if (!dport->buf) {
1242 dport->len = strlen(dport->buf);
/freebsd-11.0-release/sys/netipsec/
H A Dkey.c4681 struct sadb_x_nat_t_port *sport, *dport; local
4685 mhp->extlen[SADB_X_EXT_NAT_T_DPORT] < sizeof(*dport)) {
4693 dport = (struct sadb_x_nat_t_port *)
4698 if (dport)
4699 KEY_PORTTOSADDR(&saidx.dst, dport->sadb_x_nat_t_port_port);
4894 struct sadb_x_nat_t_port *sport, *dport; local
4973 mhp->extlen[SADB_X_EXT_NAT_T_DPORT] < sizeof(*dport)) {
4983 dport = (struct sadb_x_nat_t_port *)
4987 sport = dport = NULL;
5087 if (dport)
5254 struct sadb_x_nat_t_port *sport, *dport; local
5568 struct sadb_x_nat_t_port *sport, *dport; local
5672 struct sadb_x_nat_t_port *sport, *dport; local
5821 struct sadb_x_nat_t_port *sport, *dport; local
6599 struct sadb_x_nat_t_port *sport, *dport; local
[all...]
/freebsd-11.0-release/sys/netpfil/pf/
H A Dpf.c1151 struct pf_addr *daddr, u_int16_t sport, u_int16_t dport)
1162 sk->port[pd->didx] = dport;
2297 u_int16_t sport, u_int16_t dport, u_int32_t seq, u_int32_t ack,
2404 th->th_dport = dport;
2878 u_int16_t sport, dport; local
2890 dport = pd->hdr.tcp->th_dport;
2897 dport = pd->hdr.udp->uh_dport;
2910 sport = dport;
2911 dport = p;
2919 dport, INPLOOKUP_RLOCKPC
1150 pf_state_key_setup(struct pf_pdesc *pd, struct pf_addr *saddr, struct pf_addr *daddr, u_int16_t sport, u_int16_t dport) argument
2295 pf_send_tcp(struct mbuf *replyto, const struct pf_rule *r, sa_family_t af, const struct pf_addr *saddr, const struct pf_addr *daddr, u_int16_t sport, u_int16_t dport, u_int32_t seq, u_int32_t ack, u_int8_t flags, u_int16_t win, u_int16_t mss, u_int8_t ttl, int tag, u_int16_t rtag, struct ifnet *ifp) argument
3123 u_int16_t sport = 0, dport = 0; local
3533 pf_create_state(struct pf_rule *r, struct pf_rule *nr, struct pf_rule *a, struct pf_pdesc *pd, struct pf_src_node *nsn, struct pf_state_key *nk, struct pf_state_key *sk, struct mbuf *m, int off, u_int16_t sport, u_int16_t dport, int *rewrite, struct pfi_kif *kif, struct pf_state **sm, int tag, u_int16_t bproto_sum, u_int16_t bip_sum, int hdrlen) argument
[all...]
/freebsd-11.0-release/sys/netinet/
H A Dsiftr.c706 uint16_t dport, int dir, struct siftr_stats *ss)
716 dport, INPLOOKUP_RLOCKPCB, m->m_pkthdr.rcvif)
721 &((struct ip6_hdr *)ip)->ip6_dst, dport, INPLOOKUP_RLOCKPCB,
730 in_pcblookup(&V_tcbinfo, ip->ip_dst, dport, ip->ip_src,
735 &((struct ip6_hdr *)ip)->ip6_dst, dport,
705 siftr_findinpcb(int ipver, struct ip *ip, struct mbuf *m, uint16_t sport, uint16_t dport, int dir, struct siftr_stats *ss) argument
H A Dip_fw.h807 uint16_t dport; member in struct:tflow_entry
/freebsd-11.0-release/contrib/pf/tftp-proxy/
H A Dfilter.c363 pnl.dport = proxy->sin_port;
391 pnl.dport = proxy->sin6_port;
/freebsd-11.0-release/contrib/pf/ftp-proxy/
H A Dfilter.c352 pnl.dport = proxy->sin_port;
380 pnl.dport = proxy->sin6_port;
/freebsd-11.0-release/sys/dev/cxgbe/
H A Dt4_ioctl.h156 uint16_t dport; /* destination port */ member in struct:t4_filter_tuple
/freebsd-11.0-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_dbg.h71 l->sk_dport = (sk) ? ntohs(inet_sk(sk)->dport) : -1; \
H A Dsdp_proc.c141 destp = ntohs(inet_sk(sk)->dport);
/freebsd-11.0-release/contrib/ipfilter/tools/
H A Dipfstat.c238 int dport = -1; /* -1 = wild card for any dest port */ local
338 parse_ipportstr(optarg, &daddr, &dport);
447 topipstates(saddr, daddr, sport, dport, protocol,
1299 static void topipstates(saddr, daddr, sport, dport, protocol, ver,
1304 int dport;
1409 ((dport > 0) && (htons(dport) != ips.is_dport))))
1551 if (dport >= 0)
1552 sprintf(str2, "%s,%d", getip(ver, &daddr), dport);
H A Dipnat_y.y338 redir: rdrit ifnames addr dport tlate dip nport setproto rdroptions
355 | no rdrit ifnames addr dport setproto ';'
739 dport: | port portpair { nat->in_odport = $2.p1; label
/freebsd-11.0-release/sys/netpfil/ipfw/
H A Dip_fw_table_algo.c3078 uint16_t dport; member in struct:fhashentry
3166 i = (f->dip.s_addr) ^ (f->sip.s_addr) ^ (f->e.dport) ^ (f->e.sport);
3180 (f->e.dport) ^ (f->e.sport);
3222 f.e.dport &= id->dst_port;
3247 f.e.dport &= id->dst_port;
3299 memset(&fe4->e.dport, 0xFF, sizeof(fe4->e.dport));
3300 memset(&fe6->e.dport, 0xFF, sizeof(fe6->e.dport));
3372 tfe->dport
[all...]
/freebsd-11.0-release/tools/tools/cxgbtool/
H A Dcxgbtool.c1256 } else if (!strcmp(argv[start_arg], "dport")) {
1257 trace.dport = val;
1268 "\"dip\", \"sport\", \"dport\", \"vlan\", "
1306 "dport VLAN PRI P/MAC type Q\n");
1320 printf(op.val.dport ? "%5u " : " * ", op.val.dport);
1384 } else if (!strcmp(argv[start_arg], "dport")) {
1387 op.val.dport = val;
1388 op.mask.dport = mask;
1431 "\"dip\", \"sport\", \"dport\", \"vla
[all...]
/freebsd-11.0-release/sys/dev/cxgb/
H A Dcxgb_main.c259 u16 dport; member in struct:filter_info
3048 (f->val.dport && f->mask.dport != 0xffff) ||
3069 p->dport = f->val.dport;
3142 f->val.dport = p->dport;
3143 f->mask.dport = p->dport ? 0xffff : 0;
3286 oreq->local_port = htons(f->dport);
[all...]
/freebsd-11.0-release/sys/contrib/ipfilter/netinet/
H A Dip_state.c2307 * sport and dport as well which makes it not worthwhile to
3035 u_short dport, sport; local
3187 dport = htons(fin->fin_data[1]);
3188 hv += dport;
3218 hv += dport;
3230 hv -= dport;
3245 hv += dport;
4454 u_short sport, dport; local
4596 dport = tcp->th_dport;
4598 hv += dport;
[all...]
H A Dip_proxy.c694 u_short dport = np->in_odport; local
699 if ((tcp == NULL) && dport)
/freebsd-11.0-release/tools/tools/cxgbetool/
H A Dcxgbetool.c855 t->fs.val.dport, t->fs.mask.dport,
962 printf("dport ");
1151 } else if (!parse_val_mask("dport", args, &val, &mask)) {
1152 t.fs.val.dport = val;
1153 t.fs.mask.dport = mask;

Completed in 266 milliseconds

123