Home
last modified time | relevance | path

Searched refs:ip_dst (Results 1 – 22 of 22) sorted by relevance

/linux/net/batman-adv/
H A Ddistributed-arp-table.c428 __be32 ip_src, ip_dst; in batadv_dbg_arp() local
434 ip_dst = batadv_arp_ip_dst(skb, hdr_size); in batadv_dbg_arp()
438 batadv_arp_hw_dst(skb, hdr_size), &ip_dst); in batadv_dbg_arp()
627 batadv_dat_select_candidates(struct batadv_priv *bat_priv, __be32 ip_dst, in batadv_dat_select_candidates() argument
642 dat.ip = ip_dst; in batadv_dat_select_candidates()
648 "%s(): IP=%pI4 hash(IP)=%u\n", __func__, &ip_dst, in batadv_dat_select_candidates()
993 __be32 ip_src, ip_dst; in batadv_arp_get_type() local
1030 ip_dst = batadv_arp_ip_dst(skb, hdr_size); in batadv_arp_get_type()
1032 ipv4_is_loopback(ip_dst) || ipv4_is_multicast(ip_dst) || in batadv_arp_get_type()
1034 ipv4_is_zeronet(ip_dst) || ipv4_is_lbcast(ip_dst)) in batadv_arp_get_type()
[all …]
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_ethtool.c755 ip_addr = &fbd->ip_dst[idx]; in fbnic_get_cls_rule()
804 ip_addr = &fbd->ip_dst[idx]; in fbnic_get_cls_rule()
886 struct fbnic_ip_addr *ip_src = NULL, *ip_dst = NULL; in fbnic_set_cls_rule_ins() local
979 ip_dst = __fbnic_ip4_sync(fbd, fbd->ip_dst, in fbnic_set_cls_rule_ins()
981 if (!ip_dst) { in fbnic_set_cls_rule_ins()
987 set_bit(idx, ip_dst->act_tcam); in fbnic_set_cls_rule_ins()
990 ip_dst - fbd->ip_dst); in fbnic_set_cls_rule_ins()
1049 ip_dst = __fbnic_ip6_sync(fbd, fbd->ipo_dst, in fbnic_set_cls_rule_ins()
1051 if (!ip_dst) { in fbnic_set_cls_rule_ins()
1057 set_bit(idx, ip_dst->act_tcam); in fbnic_set_cls_rule_ins()
[all …]
H A Dfbnic.h69 struct fbnic_ip_addr ip_dst[FBNIC_RPC_TCAM_IP_ADDR_NUM_ENTRIES]; member
H A Dfbnic_rpc.c1086 for (idx = ARRAY_SIZE(fbd->ip_dst); idx--;) { in fbnic_write_ip_addr()
1087 struct fbnic_ip_addr *ip_addr = &fbd->ip_dst[idx]; in fbnic_write_ip_addr()
H A Dfbnic_debugfs.c512 return fbnic_dbg_ip_addr_show(s, fbd->ip_dst); in fbnic_dbg_ip_dst_show()
/linux/drivers/net/bonding/
H A Dbond_debugfs.c40 &client_info->ip_dst, in bond_debug_rlb_hash_show()
46 &client_info->ip_dst, in bond_debug_rlb_hash_show()
H A Dbond_alb.c49 __be32 ip_dst; /* target IP address */ member
260 (client_info->ip_src == arp->ip_dst) && in rlb_update_entry_from_arp()
261 (client_info->ip_dst == arp->ip_src) && in rlb_update_entry_from_arp()
435 client_info->ip_dst, in rlb_update_client()
566 hash_index = _simple_hash((u8 *)&arp->ip_dst, sizeof(arp->ip_dst)); in rlb_choose_channel()
571 (client_info->ip_dst == arp->ip_dst)) { in rlb_choose_channel()
612 client_info->ip_dst = arp->ip_dst; in rlb_choose_channel()
/linux/net/bridge/netfilter/
H A Debt_log.c49 unsigned char ip_dst[4]; member
170 ap->mac_dst, ap->ip_dst); in ebt_log_packet()
/linux/include/net/
H A Dselftests.h12 u32 ip_dst; member
H A Dbond_alb.h96 __be32 ip_dst; /* the client IP address */ member
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c41 u32 ip_dst; member
183 ihdr->daddr = htonl(attr->ip_dst); in stmmac_test_get_udp_skb()
223 __be32 ip_dst = htonl(attr->ip_dst); in stmmac_test_get_arp_skb() local
226 skb = arp_create(ARPOP_REQUEST, ETH_P_ARP, ip_dst, priv->dev, ip_src, in stmmac_test_get_arp_skb()
1393 attr.ip_dst = dst; in __stmmac_test_l3filt()
1525 attr.ip_dst = 0; in __stmmac_test_l4filt()
1648 attr.ip_dst = ip_addr; in stmmac_test_arpoffload()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c515 data->ip_dst[0] = in aq_set_data_fl3l4()
523 data->ip_dst[i] = in aq_set_data_fl3l4()
546 if (data->ip_dst[0] && !data->is_ipv6) in aq_set_data_fl3l4()
/linux/net/netfilter/
H A Dnf_log_syslog.c40 unsigned char ip_dst[4]; member
106 ap->mac_src, ap->ip_src, ap->mac_dst, ap->ip_dst); in dump_arp_packet()
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_a0.c927 data->ip_dst[0]); in hw_atl_a0_hw_fl3l4_set()
934 data->ip_dst); in hw_atl_a0_hw_fl3l4_set()
H A Dhw_atl_utils.h376 u32 ip_dst[4]; member
H A Dhw_atl_b0.c1469 data->ip_dst[0]); in hw_atl_b0_hw_fl3l4_set()
1476 data->ip_dst); in hw_atl_b0_hw_fl3l4_set()
/linux/net/bridge/
H A Dbr_multicast.c927 __be32 ip_dst, __be32 group, in br_ip4_multicast_alloc_query() argument
981 ip_eth_mc_map(ip_dst, eth->h_dest); in br_ip4_multicast_alloc_query()
998 iph->daddr = ip_dst; in br_ip4_multicast_alloc_query()
1239 struct br_ip *ip_dst, in br_multicast_alloc_query() argument
1249 ip4_dst = ip_dst ? ip_dst->dst.ip4 : htonl(INADDR_ALLHOSTS_GROUP); in br_multicast_alloc_query()
1259 if (ip_dst) in br_multicast_alloc_query()
1260 ip6_dst = ip_dst->dst.ip6; in br_multicast_alloc_query()
1782 struct br_ip *ip_dst, in __br_multicast_send_query() argument
1797 skb = br_multicast_alloc_query(brmctx, pmctx, pg, ip_dst, group, in __br_multicast_send_query()
/linux/tools/testing/selftests/net/
H A Dip_defrag.c240 iphdr->ip_dst = addr4; in send_udp_frags()
/linux/net/core/
H A Dselftests.c101 ihdr->daddr = htonl(attr->ip_dst); in net_test_get_skb()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Daction.c713 struct nfp_fl_set_ipv6_addr *ip_dst, in nfp_fl_set_ip6() argument
742 exact, mask, ip_dst); in nfp_fl_set_ip6()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c713 req->ip_dst[0] = l3_key->ipv4.daddr.s_addr; in bnxt_hwrm_cfa_flow_alloc()
720 memcpy(req->ip_dst, l3_key->ipv6.daddr.s6_addr32, in bnxt_hwrm_cfa_flow_alloc()
721 sizeof(req->ip_dst)); in bnxt_hwrm_cfa_flow_alloc()
/linux/include/linux/bnxt/
H A Dhsi.h8650 __be32 ip_dst[4]; member