/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: 369 target = (dst_ip, self.DEFAULT_PORT, 0, scopeid) 371 target = (dst_ip, self.DEFAULT_PORT, 0, 0) [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 | 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() 1754 dst_ip = ip->ip_dst; in ipfw_chk() 1810 args->f_id.dst_ip = ntohl(dst_ip.s_addr); in ipfw_chk() 2070 (void *)&dst_ip; in ipfw_chk() 2160 pkey = &dst_ip; in ipfw_chk() 2262 args->f_id.dst_ip : in ipfw_chk() 2277 dst_ip.s_addr); in ipfw_chk() 2282 match = in_localip(dst_ip); 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() 1523 s->dst = pkt->dst_ip; in dyn_alloc_ipv4_state() 1886 id.dst_ip = (limit_mask & DYN_DST_ADDR) ? in dyn_install_state() 1887 pkt->dst_ip: 0; in dyn_install_state() 3016 dst->id.dst_ip = s->dst; in dyn_export_ipv4_state() [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() 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() 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() 300 __be32 dst_ip; in mlx4_en_filter_rfs() local 319 dst_ip = ip->daddr; in mlx4_en_filter_rfs() [all …]
|
/freebsd/sys/dev/ice/ |
H A D | ice_flex_type.h | 92 u8 dst_ip; member 103 u8 dst_ip; member
|
/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() 2953 g.dst_ip.name = "10.1.0.1"; in main() 3075 g.dst_ip.name = optarg; in main() [all …]
|
/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() 731 if (!inet_ntop(AF_INET, &v4->dst_ip, addr, INET_ADDRSTRLEN)) { in write_ipv4_info() 800 if (!inet_ntop(AF_INET6, &v6->dst_ip, addr, INET6_ADDRSTRLEN)) { in write_ipv6_info() 893 os_memcpy(&type4_param->ip_params.v4.dst_ip, in set_frame_classifier_type4_ipv4() 959 os_memcpy(&type4_param->ip_params.v6.dst_ip, in set_frame_classifier_type4_ipv6()
|
/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/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() 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()
|