Home
last modified time | relevance | path

Searched refs:dst_port (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/sys/netinet/libalias/
H A Dalias_db.c259 lnk->dst_port == search_result->dst_port) in GetNewPort()
346 u_short dst_port, in FindNewPortGroup() argument
402 alias_addr, dst_port, htons(port_j), in FindNewPortGroup()
563 struct in_addr alias_addr, u_short src_port, u_short dst_port, in AddLink() argument
585 lnk->dst_port = dst_port; in AddLink()
621 if (dst_port == 0) in AddLink()
722 u_short dst_port, in ReLink() argument
732 src_port, dst_port, alias_port_param, in ReLink()
749 u_short dst_port, in _SearchLinkOut() argument
756 .dst_port = dst_port, in _SearchLinkOut()
[all …]
H A Dalias_db.h262 u_short dst_port; member
358 i = a->dst_port - b->dst_port; in cmp_out()
H A Dalias_local.h238 struct in_addr alias_addr, u_short src_port, u_short dst_port,
340 struct in_addr dst_addr, u_short dst_port, u_char ip_p);
H A Dalias_proxy.c457 struct in_addr dst_addr, u_short dst_port, u_char ip_p) in ProxyCheck() argument
468 if ((dst_port == proxy_port || proxy_port == 0) in ProxyCheck()
480 *proxy_server_port = dst_port; in ProxyCheck()
/freebsd/tests/sys/netpfil/common/
H A Dpft_rst.py35 def send_rst(src_ip, src_port, dst_ip, dst_port): argument
37 sp.TCP(sport=src_port, dport=dst_port, seq=1, flags="R"))
/freebsd/sys/netinet/
H A Din_fib.c75 unsigned short dst_port; member
84 unsigned short src_port, unsigned short dst_port, char proto, in fib4_calc_software_hash() argument
92 data.dst_port = dst_port; in fib4_calc_software_hash()
H A Din_rss.h49 struct in_addr dst, u_short src_port, u_short dst_port,
H A Din_fib.h58 unsigned short src_port, unsigned short dst_port, char proto,
/freebsd/sys/netinet6/
H A Din6_fib.c81 unsigned short dst_port; member
90 unsigned short src_port, unsigned short dst_port, char proto, in fib6_calc_software_hash() argument
98 data.dst_port = dst_port; in fib6_calc_software_hash()
H A Din6_rss.h51 u_short dst_port, int proto, uint32_t *hashval,
H A Din6_fib.h48 const struct in6_addr *dst, unsigned short src_port, unsigned short dst_port,
/freebsd/contrib/tcpdump/
H A Dprint-vsock.c102 nd_uint32_t dst_port; member
115 nd_uint32_t dst_port; member
214 hdr_dst_port = GET_LE_U_4(hdr->dst_port); in vsock_hdr_print()
/freebsd/contrib/unbound/util/
H A Dproxy_protocol.h110 uint16_t dst_port; member
116 uint16_t dst_port; member
/freebsd/sys/netpfil/ipfw/
H A Dip_fw2.c599 sctp->src_port = htons(id->dst_port); in ipfw_send_abort()
712 th->th_dport = htons(id->dst_port); in ipfw_send_pkt()
714 th->th_sport = htons(id->dst_port); in ipfw_send_pkt()
1120 dst_ip, dst_port, src_ip, src_port, in check_uidgid()
1172 &id->dst_ip6, htons(id->dst_port), in check_uidgid()
1176 &id->dst_ip6, htons(id->dst_port), in check_uidgid()
1189 dst_ip, htons(id->dst_port), in check_uidgid()
1193 dst_ip, htons(id->dst_port), in check_uidgid()
1431 uint16_t src_port, dst_port; /* NOTE: host format */ in ipfw_chk() local
1498 src_port = dst_port = 0; in ipfw_chk()
[all …]
H A Dip_fw_dynamic.c775 i ^= (id->dst_port) ^ (id->src_port); in hash_packet()
799 if (id->src_port <= id->dst_port) in addrcmp4()
815 if (id->src_port <= id->dst_port) in addrcmp6()
832 t6.port[1] = id->dst_port; in hash_packet6()
836 t6.port[0] = id->dst_port; in hash_packet6()
858 t4.port[1] = id->dst_port; in hash_packet()
862 t4.port[0] = id->dst_port; in hash_packet()
912 id->dst_port, V_dyn_count, postfix); in print_dyn_rule_flags()
1057 if (s->sport == pkt->src_port && s->dport == pkt->dst_port && in dyn_lookup_ipv4_state()
1062 if (s->sport == pkt->dst_port && s->dport == pkt->src_port && in dyn_lookup_ipv4_state()
[all …]
H A Dip_dummynet.c199 id->dst_port &= mask->dst_port; in flow_id_mask()
220 dst->dst_port |= src->dst_port; in flow_id_or()
244 if (m->dst_port || m->src_port || m->proto || m->extra) in nonzero_mask()
279 (id->dst_port << 1) ^ (id->src_port) ^ in flow_id_hash()
286 (id->dst_port << 1) ^ (id->src_port) ^ (id->proto); in flow_id_hash()
303 id1->dst_port == id2->dst_port && in flow_id_cmp()
312 id1->dst_port == id2->dst_port && in flow_id_cmp()
/freebsd/share/dtrace/
H A Dipfw.d131 uint16_t dst_port; /* in host byte order */ member
179 dst_port = p->f_id.dst_port;
/freebsd/sys/dev/netmap/
H A Dnetmap_vale.c761 uint16_t dst_port, d_i; in nm_vale_flush() local
779 dst_port = b->bdg_ops.lookup(start_ft, &dst_ring, na, b->private_data); in nm_vale_flush()
781 nm_prlim(5, "slot %d port %d -> %d", i, me, dst_port); in nm_vale_flush()
782 if (dst_port >= NM_BDG_NOPORT) in nm_vale_flush()
784 else if (dst_port == NM_BDG_BROADCAST) in nm_vale_flush()
786 else if (unlikely(dst_port == me || in nm_vale_flush()
787 !b->bdg_ports[dst_port])) in nm_vale_flush()
791 d_i = dst_port * NM_BDG_MAXRINGS + dst_ring; in nm_vale_flush()
798 if (dst_port != NM_BDG_BROADCAST) in nm_vale_flush()
/freebsd/sys/dev/ice/
H A Dice_protocol_type.h255 __be16 dst_port;
262 __be16 dst_port;
254 __be16 dst_port; global() member
261 __be16 dst_port; global() member
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_netdev.c102 __be16 dst_port; member
139 .dst_port = filter->dst_port, in mlx4_en_filter_work()
205 __be16 src_port, __be16 dst_port) in filter_hash_bucket() argument
211 ((__force unsigned long)dst_port << 2); in filter_hash_bucket()
222 __be16 dst_port, u32 flow_id) in mlx4_en_filter_alloc() argument
238 filter->dst_port = dst_port; in mlx4_en_filter_alloc()
247 dst_port)); in mlx4_en_filter_alloc()
268 u8 ip_proto, __be16 src_port, __be16 dst_port) in mlx4_en_filter_find() argument
275 src_port, dst_port), in mlx4_en_filter_find()
281 filter->dst_port == dst_port) { in mlx4_en_filter_find()
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Drobust_av.c65 wpabuf_put_be16(buf, type4_param->ip_params.v4.dst_port); in wpas_populate_type4_classifier()
76 wpabuf_put_be16(buf, type4_param->ip_params.v6.dst_port); in wpas_populate_type4_classifier()
997 res = os_snprintf(pos, rem_len, " dst_port=%d", v4->dst_port); in write_ipv4_info()
1067 res = os_snprintf(pos, rem_len, " dst_port=%d", v6->dst_port); in write_ipv6_info()
1156 type4_param->ip_params.v4.dst_port = in set_frame_classifier_type4_ipv4()
1222 type4_param->ip_params.v6.dst_port = in set_frame_classifier_type4_ipv6()
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Dd3.h243 * @dst_port: destination TCP port to match
245 __le16 dst_port; member
268 * @dst_port: destination TCP port to match
270 __le16 dst_port; member
/freebsd/sbin/ipfw/
H A Ddummynet.c400 id->dst_ip, id->dst_port); in print_mask()
409 printf("%s/0x%04x\n", buf, id->dst_port); in print_mask()
449 inet_ntoa(ina), id->dst_port); in list_flow()
461 id->dst_port); in list_flow()
1471 * per-flow queue, mask is dst_ip, dst_port, in ipfw_config_pipe()
1495 mask->dst_port = ~0; in ipfw_config_pipe()
1535 p16 = &mask->dst_port; in ipfw_config_pipe()
/freebsd/sys/dev/enic/
H A Dvnic_devcmd.h813 u16 dst_port; member
851 u16 dst_port; member
/freebsd/sys/net/
H A Dpflow.h171 struct pflow_tmpl_fspec dst_port; member

123