Home
last modified time | relevance | path

Searched refs:src_ip (Results 1 – 25 of 47) sorted by relevance

12

/Linux-v4.19/include/net/
Darp.h61 struct net_device *dev, __be32 src_ip,
68 struct net_device *dev, __be32 src_ip,
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Drtl819x_TS.h38 u8 src_ip[4]; member
52 u8 src_ip[16]; member
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_model.h32 input->filter.formatted.src_ip[0] = (__force __be32)val; in ixgbe_mat_prgm_sip()
33 mask->formatted.src_ip[0] = (__force __be32)m; in ixgbe_mat_prgm_sip()
Dixgbe_82599.c1623 ~input_mask->formatted.src_ip[0]); in ixgbe_fdir_set_input_mask_82599()
1639 input->formatted.src_ip[0]); in ixgbe_fdir_write_perfect_filter_82599()
1641 input->formatted.src_ip[1]); in ixgbe_fdir_write_perfect_filter_82599()
1643 input->formatted.src_ip[2]); in ixgbe_fdir_write_perfect_filter_82599()
1646 IXGBE_WRITE_REG_BE32(hw, IXGBE_FDIRIPSA, input->formatted.src_ip[0]); in ixgbe_fdir_write_perfect_filter_82599()
/Linux-v4.19/include/uapi/linux/netfilter_arp/
Darpt_mangle.h12 struct in_addr src_ip; member
/Linux-v4.19/net/bridge/
Dbr_arp_nd_proxy.c47 struct net_device *dev, __be32 dest_ip, __be32 src_ip, in br_arp_send() argument
58 dev->name, &dest_ip, dest_hw, &src_ip, src_hw); in br_arp_send()
61 arp_send(ARPOP_REPLY, ETH_P_ARP, dest_ip, dev, src_ip, in br_arp_send()
66 skb = arp_create(ARPOP_REPLY, ETH_P_ARP, dest_ip, dev, src_ip, in br_arp_send()
/Linux-v4.19/samples/bpf/
Dxdp_router_ipv4_kern.c142 __be32 src_ip = 0, dest_ip = 0; in xdp_router_ipv4_prog() local
144 ipproto = parse_ipv4(data, nh_off, data_end, &src_ip, &dest_ip); in xdp_router_ipv4_prog()
/Linux-v4.19/tools/testing/selftests/net/forwarding/
Dtc_flower.sh125 $tcflags src_ip 198.51.100.1 action drop
127 $tcflags src_ip 192.0.2.1 action drop
129 $tcflags src_ip 192.0.2.0/24 action drop
/Linux-v4.19/net/ipv4/
Darp.c303 struct net_device *dev, __be32 src_ip, in arp_send_dst() argument
315 skb = arp_create(type, ptype, dest_ip, dev, src_ip, in arp_send_dst()
325 struct net_device *dev, __be32 src_ip, in arp_send() argument
329 arp_send_dst(type, ptype, dest_ip, dev, src_ip, dest_hw, src_hw, in arp_send()
526 struct net_device *dev, __be32 src_ip, in arp_create() argument
607 memcpy(arp_ptr, &src_ip, 4); in arp_create()
/Linux-v4.19/fs/xfs/
Dxfs_inode.c2860 struct xfs_inode *src_ip, in xfs_rename() argument
2872 bool src_is_directory = S_ISDIR(VFS_I(src_ip)->i_mode); in xfs_rename()
2896 xfs_sort_for_rename(src_dp, target_dp, src_ip, target_ip, wip, in xfs_rename()
2932 xfs_trans_ijoin(tp, src_ip, XFS_ILOCK_EXCL); in xfs_rename()
2944 (xfs_get_projid(target_dp) != xfs_get_projid(src_ip)))) { in xfs_rename()
2951 return xfs_cross_rename(tp, src_dp, src_name, src_ip, in xfs_rename()
2974 src_ip->i_ino, spaceres); in xfs_rename()
3013 src_ip->i_ino, spaceres); in xfs_rename()
3046 error = xfs_dir_replace(tp, src_ip, &xfs_name_dotdot, in xfs_rename()
3060 xfs_trans_ichgtime(tp, src_ip, XFS_ICHGTIME_CHG); in xfs_rename()
[all …]
Dxfs_inode.h413 struct xfs_inode *src_ip, struct xfs_inode *target_dp,
/Linux-v4.19/net/ipv4/netfilter/
Darpt_mangle.c38 memcpy(arpptr, &mangle->u_s.src_ip, pln); in target()
Dipt_CLUSTERIP.c570 __be32 src_ip; member
590 &payload->src_ip, hbuffer, &payload->dst_ip); in arp_print()
619 c = clusterip_config_find_get(net, payload->src_ip, 0); in arp_mangle()
/Linux-v4.19/drivers/infiniband/core/
Duverbs_std_types_flow_action.c121 .src_ip = cpu_to_be32(0xffffffffUL), in parse_esp_ip()
129 .src_ip = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, in parse_esp_ip()
Daddr.c371 __be32 src_ip = src_in->sin_addr.s_addr; in addr4_resolve() local
379 fl4.saddr = src_ip; in addr4_resolve()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c156 __be32 src_ip; member
212 .src_ip = filter->src_ip, in mlx4_en_filter_work()
264 filter_hash_bucket(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in filter_hash_bucket() argument
272 l ^= (__force unsigned long)(src_ip ^ dst_ip); in filter_hash_bucket()
280 mlx4_en_filter_alloc(struct mlx4_en_priv *priv, int rxq_index, __be32 src_ip, in mlx4_en_filter_alloc() argument
294 filter->src_ip = src_ip; in mlx4_en_filter_alloc()
306 filter_hash_bucket(priv, src_ip, dst_ip, src_port, in mlx4_en_filter_alloc()
327 mlx4_en_filter_find(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in mlx4_en_filter_find() argument
334 filter_hash_bucket(priv, src_ip, dst_ip, in mlx4_en_filter_find()
337 if (filter->src_ip == src_ip && in mlx4_en_filter_find()
[all …]
Dmcg.c872 rule_hw->ipv4.src_ip = spec->ipv4.src_ip; in parse_trans_rule()
929 if (cur->ipv4.src_ip) in mlx4_err_rule()
932 &cur->ipv4.src_ip); in mlx4_err_rule()
/Linux-v4.19/drivers/infiniband/hw/i40iw/
Di40iw_hw.c630 info->src_ip[0] = cpu_to_le32(cminfo->rem_addr[0]); in i40iw_manage_qhash()
631 info->src_ip[1] = cpu_to_le32(cminfo->rem_addr[1]); in i40iw_manage_qhash()
632 info->src_ip[2] = cpu_to_le32(cminfo->rem_addr[2]); in i40iw_manage_qhash()
633 info->src_ip[3] = cpu_to_le32(cminfo->rem_addr[3]); in i40iw_manage_qhash()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c3233 else if (mask.src_ip[0] & tcf.dst_ip[0]) in i40e_vc_del_cloud_filter()
3234 memcpy(&cfilter.ip.v4.src_ip, tcf.src_ip, in i40e_vc_del_cloud_filter()
3242 if (mask.src_ip[3] & tcf.src_ip[3]) in i40e_vc_del_cloud_filter()
3243 memcpy(&cfilter.ip.v6.src_ip6, tcf.src_ip, in i40e_vc_del_cloud_filter()
3367 else if (mask.src_ip[0] & tcf.dst_ip[0]) in i40e_vc_add_cloud_filter()
3368 memcpy(&cfilter->ip.v4.src_ip, tcf.src_ip, in i40e_vc_add_cloud_filter()
3376 if (mask.src_ip[3] & tcf.src_ip[3]) in i40e_vc_add_cloud_filter()
3377 memcpy(&cfilter->ip.v6.src_ip6, tcf.src_ip, in i40e_vc_add_cloud_filter()
Di40e.h221 __be32 src_ip; member
276 struct in_addr src_ip; member
286 #define src_ipv4 ip.v4.src_ip.s_addr
/Linux-v4.19/drivers/scsi/qedi/
Dqedi.h289 u32 src_ip[4]; member
Dqedi_iscsi.c658 len = sprintf(buf, "%pI4\n", qedi->src_ip); in qedi_host_get_param()
660 len = sprintf(buf, "%pI6\n", qedi->src_ip); in qedi_host_get_param()
1280 memcpy(&qedi->src_ip[0], &path_data->src.v4_addr, in qedi_set_path()
1291 memcpy(&qedi->src_ip[0], &path_data->src.v6_addr, in qedi_set_path()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dcnic_if.h263 u32 src_ip[4]; member
/Linux-v4.19/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c405 __be32 src_ip = src_in->sin_addr.s_addr; in qedr_addr4_resolve() local
411 rt = ip_route_output(&init_net, dst_ip, src_ip, 0, 0); in qedr_addr4_resolve()
/Linux-v4.19/include/linux/avf/
Dvirtchnl.h543 __be32 src_ip[4]; member

12