Home
last modified time | relevance | path

Searched refs:dst_ip (Results 1 – 24 of 24) sorted by relevance

/NextBSD/sys/netpfil/ipfw/
HDip_fw_dynamic.c280 i = (id->dst_ip) ^ (id->src_ip) ^ (id->dst_port) ^ (id->src_port); in hash_packet()
308 da.s_addr = htonl(id->dst_ip); in print_dyn_rule_flags()
366 pkt->dst_ip == q->id.dst_ip && in lookup_dyn_rule_locked()
372 if (pkt->src_ip == q->id.dst_ip && in lookup_dyn_rule_locked()
373 pkt->dst_ip == q->id.src_ip && in lookup_dyn_rule_locked()
657 pkt->dst_ip == q->id.dst_ip) in lookup_dyn_parent()
732 id.dst_ip = id.src_ip = id.dst_port = id.src_port = 0; in ipfw_install_state()
749 id.dst_ip = args->f_id.dst_ip; in ipfw_install_state()
882 h->ip_dst.s_addr = htonl(id->dst_ip); in ipfw_send_pkt()
884 h->ip_src.s_addr = htonl(id->dst_ip); in ipfw_send_pkt()
HDip_fw2.c662 dst_ip, dst_port, src_ip, src_port, in check_uidgid()
665 struct in_addr src_ip, dst_ip; in check_uidgid()
726 dst_ip.s_addr = htonl(id->dst_ip); in check_uidgid()
730 dst_ip, htons(id->dst_port), in check_uidgid()
734 dst_ip, htons(id->dst_port), in check_uidgid()
963 struct in_addr src_ip, dst_ip; /* NOTE: network format */ in ipfw_chk() local
999 dst_ip.s_addr = 0; /* make sure it is initialized */ in ipfw_chk()
1199 args->f_id.dst_ip = 0; in ipfw_chk()
1212 dst_ip = ip->ip_dst; in ipfw_chk()
1251 args->f_id.dst_ip = ntohl(dst_ip.s_addr); in ipfw_chk()
[all …]
HDip_dummynet.c157 id->dst_ip &= mask->dst_ip; in flow_id_mask()
184 dst->dst_ip |= src->dst_ip; in flow_id_or()
207 return m->dst_ip || m->src_ip; in nonzero_mask()
232 i = (id->dst_ip) ^ (id->dst_ip >> 15) ^ in flow_id_hash()
250 return (id1->dst_ip == id2->dst_ip && in flow_id_cmp()
HDip_fw_table_algo.c3216 f.dip.s_addr &= id->dst_ip; in ta_lookup_fhash()
/NextBSD/tools/tools/netmap/
HDpkt-gen.c166 struct ip_range dst_ip; member
599 if (p < g->dst_ip.port1) { /* just inc, no wrap */ in update_addresses()
603 udp->uh_dport = htons(g->dst_ip.port0); in update_addresses()
606 if (a < g->dst_ip.end) { /* just inc, no wrap */ in update_addresses()
611 ip->ip_dst.s_addr = htonl(g->dst_ip.start); in update_addresses()
673 ip->ip_dst.s_addr = htonl(targ->g->dst_ip.start); in initialize_packet()
680 udp->uh_dport = htons(targ->g->dst_ip.port0); in initialize_packet()
1672 g.dst_ip.name = "10.1.0.1"; in main()
1766 g.dst_ip.name = optarg; in main()
1870 extract_ip_range(&g.dst_ip); in main()
[all …]
/NextBSD/sys/dev/ifmlx4/
HDen_netdev.c97 __be32 dst_ip; member
147 .dst_ip = filter->dst_ip, in mlx4_en_filter_work()
201 filter_hash_bucket(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in filter_hash_bucket() argument
209 l ^= (__force unsigned long)(src_ip ^ dst_ip); in filter_hash_bucket()
218 __be32 dst_ip, u8 ip_proto, __be16 src_port, in mlx4_en_filter_alloc() argument
232 filter->dst_ip = dst_ip; in mlx4_en_filter_alloc()
243 filter_hash_bucket(priv, src_ip, dst_ip, src_port, in mlx4_en_filter_alloc()
264 mlx4_en_filter_find(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in mlx4_en_filter_find() argument
272 filter_hash_bucket(priv, src_ip, dst_ip, in mlx4_en_filter_find()
276 filter->dst_ip == dst_ip && in mlx4_en_filter_find()
[all …]
HDmcg.c846 rule_hw->ipv4.dst_ip = spec->ipv4.dst_ip; in parse_trans_rule()
898 if (cur->ipv4.dst_ip) in mlx4_err_rule()
901 &cur->ipv4.dst_ip); in mlx4_err_rule()
HDen_ethtool.c1154 spec_l3->ipv4.dst_ip = cmd->fs.h_u.usr_ip4_spec.ip4dst; in add_ip_rule()
1191 spec_l3->ipv4.dst_ip = cmd->fs.h_u.tcp_ip4_spec.ip4dst; in add_tcp_udp_rule()
1201 spec_l3->ipv4.dst_ip = cmd->fs.h_u.udp_ip4_spec.ip4dst; in add_tcp_udp_rule()
/NextBSD/sys/ofed/drivers/net/mlx4/
HDen_netdev.c97 __be32 dst_ip; member
147 .dst_ip = filter->dst_ip, in mlx4_en_filter_work()
201 filter_hash_bucket(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in filter_hash_bucket() argument
209 l ^= (__force unsigned long)(src_ip ^ dst_ip); in filter_hash_bucket()
218 __be32 dst_ip, u8 ip_proto, __be16 src_port, in mlx4_en_filter_alloc() argument
232 filter->dst_ip = dst_ip; in mlx4_en_filter_alloc()
243 filter_hash_bucket(priv, src_ip, dst_ip, src_port, in mlx4_en_filter_alloc()
264 mlx4_en_filter_find(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in mlx4_en_filter_find() argument
271 filter_hash_bucket(priv, src_ip, dst_ip, in mlx4_en_filter_find()
275 filter->dst_ip == dst_ip && in mlx4_en_filter_find()
[all …]
HDmcg.c846 rule_hw->ipv4.dst_ip = spec->ipv4.dst_ip; in parse_trans_rule()
898 if (cur->ipv4.dst_ip) in mlx4_err_rule()
901 &cur->ipv4.dst_ip); in mlx4_err_rule()
/NextBSD/sys/dev/nxge/xgehal/
HDxgehal-device.c1923 xge_hal_ipaddr_t *dst_ip, u16 l4_sp, u16 l4_dp, u8 is_tcp, in __hal_spdm_entry_add() argument
1956 vBIT(dst_ip->ipv4.addr,32,32); in __hal_spdm_entry_add()
1961 xge_os_memcpy(&spdm_line_arr[3], &dst_ip->ipv6.addr[0], 8); in __hal_spdm_entry_add()
1962 xge_os_memcpy(&spdm_line_arr[4], &dst_ip->ipv6.addr[1], 8); in __hal_spdm_entry_add()
1997 xge_os_memcpy(&hldev->spdm_table[spdm_entry]->dst_ip, dst_ip, in __hal_spdm_entry_add()
2115 &spdm_entry->dst_ip, in __hal_device_rth_spdm_configure()
6072 xge_hal_ipaddr_t *dst_ip, u16 l4_sp, u16 l4_dp, in xge_hal_spdm_entry_add() argument
6126 (u8)((dst_ip->ipv4.addr & mask) >> shift); in xge_hal_spdm_entry_add()
6136 msg[off+ipaddr_len] = (u8)((dst_ip->ipv6.addr[off/8] in xge_hal_spdm_entry_add()
6181 status = __hal_spdm_entry_add(hldev, src_ip, dst_ip, l4_sp, l4_dp, in xge_hal_spdm_entry_add()
[all …]
/NextBSD/sys/dev/nxge/include/
HDxgehal-device.h293 xge_hal_ipaddr_t dst_ip; member
803 xge_hal_ipaddr_t *dst_ip, u16 l4_sp, u16 l4_dp,
808 xge_hal_ipaddr_t *dst_ip, u16 l4_sp, u16 l4_dp,
/NextBSD/sbin/ipfw/
HDdummynet.c149 id->dst_ip, id->dst_port); in print_mask()
196 ina.s_addr = htonl(id->dst_ip); in list_flow()
935 mask->dst_ip = ~0; in ipfw_config_pipe()
953 p32 = &mask->dst_ip; in ipfw_config_pipe()
HDipfw2.c2109 a.s_addr = htonl(d->id.dst_ip); in show_dyn_state()
/NextBSD/contrib/tcpdump/
HDprint-juniper.c507 uint8_t dst_ip[4]; in juniper_es_print() member
550 ipaddr_string(ndo, &ih->dst_ip), in juniper_es_print()
/NextBSD/sys/ofed/include/linux/mlx4/
HDdevice.h1122 __be32 dst_ip; member
1223 __be32 dst_ip; member
/NextBSD/sys/dev/qlxgb/
HDqla_hw.h662 uint32_t dst_ip; member
/NextBSD/sys/netinet/
HDip_fw.h642 uint32_t dst_ip; member
/NextBSD/sys/ofed/include/rdma/
HDib_user_verbs.h834 __be32 dst_ip; member
HDib_verbs.h1496 __be32 dst_ip; member
/NextBSD/sys/dev/ixgbe/
HDixgbe_82599.c1847 ~input_mask->formatted.dst_ip[0]); in ixgbe_fdir_set_input_mask_82599()
1878 input->formatted.dst_ip[0]); in ixgbe_fdir_write_perfect_filter_82599()
HDixgbe_type.h3303 __be32 dst_ip[4]; member
/NextBSD/sys/ofed/drivers/infiniband/hw/mlx4/
HDmain.c1070 mlx4_spec->ipv4.dst_ip = ib_spec->ipv4.val.dst_ip; in parse_flow_attr()
1071 mlx4_spec->ipv4.dst_ip_msk = ib_spec->ipv4.mask.dst_ip; in parse_flow_attr()
/NextBSD/sys/dev/mlx5/
HDmlx5_ifc.h389 u8 dst_ip[4][0x20]; member