/freebsd/sys/net/ |
H A D | pflow.h | 83 u_int32_t src_ip; member 126 struct pflow_tmpl_fspec src_ip; member 145 struct pflow_tmpl_fspec src_ip; member 166 struct pflow_tmpl_fspec src_ip; member 186 u_int32_t src_ip; /* sourceIPv4Address*/ member 202 struct in6_addr src_ip; /* sourceIPv6Address */ member 221 u_int32_t src_ip; /* sourceIPv4Address */ member
|
/freebsd/tests/sys/netinet/ |
H A D | forward.sh | 47 src_ip="192.0.2.3" 76 --sip ${src_ip} --dip ${ip4a} \ 103 src_ip="192.0.2.3" 136 --sip ${src_ip} --dip ${dst_ip} \ 163 src_ip="192.0.2.3" 190 --sip ${src_ip} --dip ${ip4a} \ 217 src_ip="192.0.2.3" 250 --sip ${src_ip} --dip ${dst_ip} \
|
/freebsd/tests/sys/netinet6/ |
H A D | forward6.sh | 58 src_ip="2001:db8:6666:0000:${yl}:${id}:3:${xl}" 90 --sip ${src_ip} --dip ${ip6a} \ 128 src_ip="2001:db8:6666:0000:${yl}:${id}:3:${xl}" 164 --sip ${src_ip} --dip ${dst_ip} \ 202 src_ip="2001:db8:6666:0000:${yl}:${id}:3:${xl}" 239 --sip ${src_ip} --dip ${dst_ip} \ 277 src_ip="2001:db8:6666:0000:${yl}:${id}:3:${xl}" 308 --sip ${src_ip} --dip ${ip6a} \ 346 src_ip="2001:db8:6666:0000:${yl}:${id}:3:${xl}" 382 --sip ${src_ip} --dip ${dst_ip} \ [all …]
|
H A D | test_ip6_output.py | 183 src_ip = params.get("src", "") 190 if src_ip: 191 for i, b in enumerate(socket.inet_pton(socket.AF_INET6, src_ip)): 351 src_ip = params.get("sip") 374 if src_ip is None: 377 src_ip, _ = ll_data[os_ifname][0] 379 src = (src_ip, self.DEFAULT_PORT, 0, scopeid) 381 src = (src_ip, self.DEFAULT_PORT, 0, 0) 400 assert rx_obj["src_ip"] == src_ip
|
/freebsd/tests/sys/netpfil/common/ |
H A D | pft_rst.py | 35 def send_rst(src_ip, src_port, dst_ip, dst_port): argument 36 sp.send(sp.IP(src=src_ip, dst=dst_ip) /
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw2.c | 579 ip->ip_dst.s_addr = htonl(id->src_ip); in ipfw_send_abort() 681 h->ip_src.s_addr = htonl(id->src_ip); in ipfw_send_pkt() 685 h->ip_dst.s_addr = htonl(id->src_ip); in ipfw_send_pkt() 1120 dst_ip, dst_port, src_ip, src_port, in check_uidgid() 1123 struct in_addr src_ip, dst_ip; in check_uidgid() 1184 src_ip.s_addr = htonl(id->src_ip); in check_uidgid() 1188 src_ip, htons(id->src_port), in check_uidgid() 1194 src_ip, htons(id->src_port), in check_uidgid() 1432 struct in_addr src_ip, dst_ip; /* NOTE: network format */ in ipfw_chk() local 1497 src_ip.s_addr = 0; /* make sure it is initialized */ in ipfw_chk() [all …]
|
H A D | ip_fw_dynamic.c | 774 i = (id->dst_ip) ^ (id->src_ip); in hash_packet() 795 if (id->src_ip < id->dst_ip) in addrcmp4() 797 if (id->src_ip > id->dst_ip) in addrcmp4() 855 t4.addr[0] = id->src_ip; in hash_packet() 861 t4.addr[1] = id->src_ip; in hash_packet() 905 da.s_addr = htonl(id->src_ip); in print_dyn_rule_flags() 1058 s->src == pkt->src_ip && s->dst == pkt->dst_ip) { in dyn_lookup_ipv4_state() 1063 s->src == pkt->dst_ip && s->dst == pkt->src_ip) { in dyn_lookup_ipv4_state() 1094 s->src == pkt->src_ip && s->dst == pkt->dst_ip) { in dyn_lookup_ipv4_state_locked() 1099 s->src == pkt->dst_ip && s->dst == pkt->src_ip) { in dyn_lookup_ipv4_state_locked() [all …]
|
H A D | ip_dummynet.c | 209 id->src_ip &= mask->src_ip; in flow_id_mask() 236 dst->src_ip |= src->src_ip; in flow_id_or() 258 return m->dst_ip || m->src_ip; in nonzero_mask() 284 (id->src_ip << 1) ^ (id->src_ip >> 16) ^ in flow_id_hash() 302 id1->src_ip == id2->src_ip && in flow_id_cmp()
|
/freebsd/share/dtrace/ |
H A D | ipfw.d | 127 in_addr_t src_ip; /* in network byte order */ member 174 src_ip = htonl(p->f_id.src_ip);
|
/freebsd/sys/netpfil/pf/ |
H A D | pflow.c | 275 pflowif->sc_tmpl_ipfix.ipv4_tmpl.src_ip.field_id = in pflow_create() 277 pflowif->sc_tmpl_ipfix.ipv4_tmpl.src_ip.len = htons(4); in pflow_create() 317 pflowif->sc_tmpl_ipfix.ipv6_tmpl.src_ip.field_id = in pflow_create() 319 pflowif->sc_tmpl_ipfix.ipv6_tmpl.src_ip.len = htons(16); in pflow_create() 370 pflowif->sc_tmpl_ipfix.nat44_tmpl.src_ip.field_id = in pflow_create() 372 pflowif->sc_tmpl_ipfix.nat44_tmpl.src_ip.len = in pflow_create() 628 flow1->src_ip = flow2->dest_ip = sk->addr[src].v4.s_addr; in copy_flow_data() 630 flow1->dest_ip = flow2->src_ip = sk->addr[dst].v4.s_addr; in copy_flow_data() 666 flow1->src_ip = flow2->dest_ip = sk->addr[src].v4.s_addr; in copy_flow_ipfix_4_data() 668 flow1->dest_ip = flow2->src_ip = sk->addr[dst].v4.s_addr; in copy_flow_ipfix_4_data() [all …]
|
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_netdev.c | 99 __be32 src_ip; member 152 .src_ip = filter->src_ip, in mlx4_en_filter_work() 204 filter_hash_bucket(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in filter_hash_bucket() argument 212 l ^= (__force unsigned long)(src_ip ^ dst_ip); in filter_hash_bucket() 220 mlx4_en_filter_alloc(struct mlx4_en_priv *priv, int rxq_index, __be32 src_ip, in mlx4_en_filter_alloc() argument 234 filter->src_ip = src_ip; in mlx4_en_filter_alloc() 246 filter_hash_bucket(priv, src_ip, dst_ip, src_port, in mlx4_en_filter_alloc() 267 mlx4_en_filter_find(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in mlx4_en_filter_find() argument 274 filter_hash_bucket(priv, src_ip, dst_ip, in mlx4_en_filter_find() 277 if (filter->src_ip == src_ip && in mlx4_en_filter_find() [all …]
|
/freebsd/tools/tools/netmap/ |
H A D | pkt-gen.c | 258 struct ip_range src_ip; member 852 if (oport < g->src_ip.port1) { in update_ip() 858 nport = g->src_ip.port0; in update_ip() 860 if (oaddr < g->src_ip.ipv4.end) { in update_ip() 866 naddr = g->src_ip.ipv4.start; in update_ip() 929 group = g->src_ip.ipv6.sgroup; in update_ip6() 939 if (oport < g->src_ip.port1) { in update_ip6() 944 nport = g->src_ip.port0; in update_ip6() 946 if (oaddr < ntohs(g->src_ip.ipv6.end.s6_addr16[group])) { in update_ip6() 951 naddr = ntohs(g->src_ip.ipv6.start.s6_addr16[group]); in update_ip6() [all …]
|
/freebsd/sys/dev/ice/ |
H A D | ice_flex_type.h | 91 u8 src_ip; member 102 u8 src_ip; member
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_std_types_flow_action.c | 123 .src_ip = cpu_to_be32(0xffffffffUL), in parse_esp_ip() 131 .src_ip = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, in parse_esp_ip()
|
/freebsd/stand/i386/libi386/ |
H A D | pxe.h | 406 IP4_t src_ip; /* IP address of this station */ member 417 IP4_t src_ip; /* IP of sender */ member
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | robust_av.c | 60 wpabuf_put_data(buf, &type4_param->ip_params.v4.src_ip.s_addr, in wpas_populate_type4_classifier() 71 wpabuf_put_data(buf, &type4_param->ip_params.v6.src_ip.s6_addr, in wpas_populate_type4_classifier() 958 if (!inet_ntop(AF_INET, &v4->src_ip, addr, INET_ADDRSTRLEN)) { in write_ipv4_info() 1028 if (!inet_ntop(AF_INET6, &v6->src_ip, addr, INET6_ADDRSTRLEN)) { in write_ipv6_info() 1123 os_memcpy(&type4_param->ip_params.v4.src_ip, in set_frame_classifier_type4_ipv4() 1190 os_memcpy(&type4_param->ip_params.v6.src_ip, in set_frame_classifier_type4_ipv6()
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | kern-abi.h | 861 __u32 src_ip; member 874 __u32 src_ip; member 891 __u8 src_ip[16]; member
|
H A D | verbs.h | 1262 uint32_t src_ip; member 1274 uint32_t src_ip; member 1290 uint8_t src_ip[16]; member
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_82599.c | 1890 ~input_mask->formatted.src_ip[0]); in ixgbe_fdir_set_input_mask_82599() 1912 input->formatted.src_ip[0]); in ixgbe_fdir_write_perfect_filter_82599() 1914 input->formatted.src_ip[1]); in ixgbe_fdir_write_perfect_filter_82599() 1916 input->formatted.src_ip[2]); in ixgbe_fdir_write_perfect_filter_82599() 1920 input->formatted.src_ip[0]); in ixgbe_fdir_write_perfect_filter_82599()
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_mcg.c | 874 rule_hw->ipv4.src_ip = spec->ipv4.src_ip; in parse_trans_rule() 934 if (cur->ipv4.src_ip) in mlx4_err_rule() 937 &cur->ipv4.src_ip); in mlx4_err_rule()
|
/freebsd/sbin/ipfw/ |
H A D | dummynet.c | 399 id->src_ip, id->src_port, in print_mask() 444 ina.s_addr = htonl(id->src_ip); in list_flow() 1472 * src_ip, src_port, proto measured in bits in ipfw_config_pipe() 1494 mask->src_ip = ~0; in ipfw_config_pipe() 1516 p32 = &mask->src_ip; in ipfw_config_pipe()
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_hw.c | 2639 info->src_ip[0] = cminfo->rem_addr[0]; in irdma_manage_qhash() 2640 info->src_ip[1] = cminfo->rem_addr[1]; in irdma_manage_qhash() 2641 info->src_ip[2] = cminfo->rem_addr[2]; in irdma_manage_qhash() 2642 info->src_ip[3] = cminfo->rem_addr[3]; in irdma_manage_qhash() 2655 info->dest_port, info->src_ip[0], info->dest_ip[0], in irdma_manage_qhash() 2665 info->dest_port, IRDMA_PRINT_IP6(info->src_ip), in irdma_manage_qhash()
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 937 __be32 src_ip; member 977 __u8 src_ip[16]; member
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_main.c | 1900 &ib_spec->ipv4.mask.src_ip, in parse_flow_attr() 1901 sizeof(ib_spec->ipv4.mask.src_ip)); in parse_flow_attr() 1904 &ib_spec->ipv4.val.src_ip, in parse_flow_attr() 1905 sizeof(ib_spec->ipv4.val.src_ip)); in parse_flow_attr() 1932 &ib_spec->ipv6.mask.src_ip, in parse_flow_attr() 1933 sizeof(ib_spec->ipv6.mask.src_ip)); in parse_flow_attr() 1936 &ib_spec->ipv6.val.src_ip, in parse_flow_attr() 1937 sizeof(ib_spec->ipv6.val.src_ip)); in parse_flow_attr()
|
/freebsd/sys/dev/iavf/ |
H A D | virtchnl.h | 617 __be32 src_ip[4]; member
|