/freebsd/tests/sys/netinet6/ |
H A D | forward6.sh | 129 dst_ip="2001:db8:6666:0000:${yl}:${id}:4:${xl}" 155 jexec ${jname} route add -6 -host ${dst_ip} ${ip6a} 164 --sip ${src_ip} --dip ${dst_ip} \ 203 dst_ip="2001:db8:6666:0000:${yl}:${id}:4:${xl}" 230 atf_check -s exit:0 -o ignore jexec ${jname} route add -6 -host ${dst_ip} ${our_ll_ip}%${epair}b 239 --sip ${src_ip} --dip ${dst_ip} \ 347 dst_ip="2001:db8:6666:0000:${yl}:${id}:4:${xl}" 373 jexec ${jname} route add -6 -host ${dst_ip} ${ip6a} 382 --sip ${src_ip} --dip ${dst_ip} \ 422 dst_ip="2001:db8:6666:0000:${yl}:${id}:4:${xl}" [all …]
|
H A D | test_ip6_output.py | 54 dst_ip = socket.inet_ntop(socket.AF_INET6, info.ipi6_addr) 60 "dst_ip": dst_ip, 181 dst_ip = str(ifaddr.ip) 205 s.sendto(data, (dst_ip, self.DEFAULT_PORT)) 216 assert rx_obj["dst_ip"] == dst_ip 353 dst_ip = params.get("dip") 358 second_vnet.pipe.send((dst_ip, dst_ifp)) 363 if dst_ip is None: 365 dst_ip, _ = ll_data[second_vnet.iface_alias_map[dst_ifp].name][0] 369 target = (dst_ip, self.DEFAULT_PORT, 0, scopeid) [all …]
|
/freebsd/tests/sys/netinet/ |
H A D | forward.sh | 104 dst_ip="192.0.2.4" 128 jexec ${jname} route -4 add -host ${dst_ip} ${ip4a} 136 --sip ${src_ip} --dip ${dst_ip} \ 218 dst_ip="192.0.2.4" 242 jexec ${jname} route -4 add -host ${dst_ip} ${ip4a} 250 --sip ${src_ip} --dip ${dst_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) /
|
H A D | pft_icmp_check.py | 40 def ping(send_if, dst_ip, args): argument 42 ip = sp.IP(dst=dst_ip, src=args.fromaddr[0])
|
/freebsd/tests/sys/netpfil/pf/ |
H A D | pft_ether.py | 38 def ping(send_if, dst_ip, length): argument 40 ip = sp.IP(dst=dst_ip)
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw2.c | 578 ip->ip_src.s_addr = htonl(id->dst_ip); in ipfw_send_abort() 682 h->ip_dst.s_addr = htonl(id->dst_ip); in ipfw_send_pkt() 684 h->ip_src.s_addr = htonl(id->dst_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() 1185 dst_ip.s_addr = htonl(id->dst_ip); in check_uidgid() 1189 dst_ip, htons(id->dst_port), in check_uidgid() 1193 dst_ip, htons(id->dst_port), in check_uidgid() 1432 struct in_addr src_ip, dst_ip; /* NOTE: network format */ in ipfw_chk() local 1496 dst_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() 856 t4.addr[1] = id->dst_ip; in hash_packet() 860 t4.addr[0] = id->dst_ip; in hash_packet() 907 da.s_addr = htonl(id->dst_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 | 208 id->dst_ip &= mask->dst_ip; in flow_id_mask() 235 dst->dst_ip |= src->dst_ip; in flow_id_or() 258 return m->dst_ip || m->src_ip; in nonzero_mask() 283 i = (id->dst_ip) ^ (id->dst_ip >> 15) ^ in flow_id_hash() 301 return (id1->dst_ip == id2->dst_ip && in flow_id_cmp()
|
/freebsd/share/dtrace/ |
H A D | ipfw.d | 126 in_addr_t dst_ip; /* in network byte order */ member 173 dst_ip = htonl(p->f_id.dst_ip);
|
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_netdev.c | 100 __be32 dst_ip; member 150 .dst_ip = filter->dst_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() 221 __be32 dst_ip, u8 ip_proto, __be16 src_port, in mlx4_en_filter_alloc() argument 235 filter->dst_ip = dst_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() 278 filter->dst_ip == dst_ip && in mlx4_en_filter_find() [all …]
|
/freebsd/tools/tools/netmap/ |
H A D | pkt-gen.c | 259 struct ip_range dst_ip; member 881 if (oport < g->dst_ip.port1) { in update_ip() 887 nport = g->dst_ip.port0; in update_ip() 889 if (oaddr < g->dst_ip.ipv4.end) { in update_ip() 895 naddr = g->dst_ip.ipv4.start; in update_ip() 961 group = g->dst_ip.ipv6.egroup; in update_ip6() 971 if (oport < g->dst_ip.port1) { in update_ip6() 976 nport = g->dst_ip.port0; in update_ip6() 978 if (oaddr < ntohs(g->dst_ip.ipv6.end.s6_addr16[group])) { in update_ip6() 983 naddr = ntohs(g->dst_ip.ipv6.start.s6_addr16[group]); in update_ip6() [all …]
|
/freebsd/sys/dev/ice/ |
H A D | ice_flex_type.h | 92 u8 dst_ip; member 103 u8 dst_ip; member
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_std_types_flow_action.c | 124 .dst_ip = cpu_to_be32(0xffffffffUL), in parse_esp_ip() 133 .dst_ip = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, in parse_esp_ip()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | robust_av.c | 62 wpabuf_put_data(buf, &type4_param->ip_params.v4.dst_ip.s_addr, in wpas_populate_type4_classifier() 73 wpabuf_put_data(buf, &type4_param->ip_params.v6.dst_ip.s6_addr, in wpas_populate_type4_classifier() 973 if (!inet_ntop(AF_INET, &v4->dst_ip, addr, INET_ADDRSTRLEN)) { in write_ipv4_info() 1043 if (!inet_ntop(AF_INET6, &v6->dst_ip, addr, INET6_ADDRSTRLEN)) { in write_ipv6_info() 1136 os_memcpy(&type4_param->ip_params.v4.dst_ip, in set_frame_classifier_type4_ipv4() 1202 os_memcpy(&type4_param->ip_params.v6.dst_ip, in set_frame_classifier_type4_ipv6()
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | kern-abi.h | 862 __u32 dst_ip; member 875 __u32 dst_ip; member 892 __u8 dst_ip[16]; member
|
H A D | verbs.h | 1263 uint32_t dst_ip; member 1275 uint32_t dst_ip; member 1291 uint8_t dst_ip[16]; member
|
/freebsd/sys/dev/irdma/ |
H A D | fbsd_kcompat.c | 440 u32 dst_ip, int arpindex) in irdma_addr_resolve_neigh() argument 451 dst_sin.sin_addr.s_addr = htonl(dst_ip); in irdma_addr_resolve_neigh() 457 ip[0] = dst_ip; in irdma_addr_resolve_neigh()
|
H A D | fbsd_kcompat.h | 187 int irdma_addr_resolve_neigh(struct irdma_cm_node *cm_node, u32 dst_ip,
|
/freebsd/sys/netpfil/ipfw/nat64/ |
H A D | nat64stl.c | 225 dst4 = htonl(args->f_id.dst_ip); in ipfw_nat64stl()
|
/freebsd/sys/net/ |
H A D | pflow.h | 170 struct pflow_tmpl_fspec dst_ip; member
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_mcg.c | 876 rule_hw->ipv4.dst_ip = spec->ipv4.dst_ip; in parse_trans_rule() 938 if (cur->ipv4.dst_ip) in mlx4_err_rule() 941 &cur->ipv4.dst_ip); in mlx4_err_rule()
|
/freebsd/sbin/ipfw/ |
H A D | dummynet.c | 400 id->dst_ip, id->dst_port); in print_mask() 447 ina.s_addr = htonl(id->dst_ip); in list_flow() 1471 * per-flow queue, mask is dst_ip, dst_port, in ipfw_config_pipe() 1493 mask->dst_ip = ~0; in ipfw_config_pipe() 1511 p32 = &mask->dst_ip; in ipfw_config_pipe()
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 938 __be32 dst_ip; member 978 __u8 dst_ip[16]; member
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_main.c | 1908 &ib_spec->ipv4.mask.dst_ip, in parse_flow_attr() 1909 sizeof(ib_spec->ipv4.mask.dst_ip)); in parse_flow_attr() 1912 &ib_spec->ipv4.val.dst_ip, in parse_flow_attr() 1913 sizeof(ib_spec->ipv4.val.dst_ip)); in parse_flow_attr() 1940 &ib_spec->ipv6.mask.dst_ip, in parse_flow_attr() 1941 sizeof(ib_spec->ipv6.mask.dst_ip)); in parse_flow_attr() 1944 &ib_spec->ipv6.val.dst_ip, in parse_flow_attr() 1945 sizeof(ib_spec->ipv6.val.dst_ip)); in parse_flow_attr()
|