| /linux/net/batman-adv/ |
| H A D | distributed-arp-table.c | 428 __be32 ip_src, ip_dst; in batadv_dbg_arp() local 433 ip_src = batadv_arp_ip_src(skb, hdr_size); in batadv_dbg_arp() 437 batadv_arp_hw_src(skb, hdr_size), &ip_src, in batadv_dbg_arp() 993 __be32 ip_src, ip_dst; in batadv_arp_get_type() local 1029 ip_src = batadv_arp_ip_src(skb, hdr_size); in batadv_arp_get_type() 1031 if (ipv4_is_loopback(ip_src) || ipv4_is_multicast(ip_src) || in batadv_arp_get_type() 1033 ipv4_is_zeronet(ip_src) || ipv4_is_lbcast(ip_src) || in batadv_arp_get_type() 1095 batadv_dat_arp_create_reply(struct batadv_priv *bat_priv, __be32 ip_src, in batadv_dat_arp_create_reply() argument 1102 ip_src, hw_dst, hw_src, hw_dst); in batadv_dat_arp_create_reply() 1129 __be32 ip_dst, ip_src; in batadv_dat_snoop_outgoing_arp_request() local [all …]
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 738 ip_addr = &fbd->ip_src[idx]; in fbnic_get_cls_rule() 790 ip_addr = &fbd->ip_src[idx]; in fbnic_get_cls_rule() 886 struct fbnic_ip_addr *ip_src = NULL, *ip_dst = NULL; in fbnic_set_cls_rule_ins() local 963 ip_src = __fbnic_ip4_sync(fbd, fbd->ip_src, in fbnic_set_cls_rule_ins() 965 if (!ip_src) in fbnic_set_cls_rule_ins() 968 set_bit(idx, ip_src->act_tcam); in fbnic_set_cls_rule_ins() 971 ip_src - fbd->ip_src); in fbnic_set_cls_rule_ins() 982 if (ip_src && ip_src->state == FBNIC_TCAM_S_ADD) in fbnic_set_cls_rule_ins() 983 memset(ip_src, 0, sizeof(*ip_src)); in fbnic_set_cls_rule_ins() 1031 ip_src = __fbnic_ip6_sync(fbd, fbd->ipo_src, in fbnic_set_cls_rule_ins() [all …]
|
| H A D | fbnic_rpc.c | 1064 for (idx = ARRAY_SIZE(fbd->ip_src); idx--;) { in fbnic_write_ip_addr() 1065 struct fbnic_ip_addr *ip_addr = &fbd->ip_src[idx]; in fbnic_write_ip_addr()
|
| /linux/net/bridge/netfilter/ |
| H A D | ebt_log.c | 47 unsigned char ip_src[4]; member 169 ap->mac_src, ap->ip_src, in ebt_log_packet()
|
| /linux/tools/testing/selftests/net/ |
| H A D | ip_defrag.c | 106 sum = raw_checksum((uint8_t *)&iphdr->ip_src, 2 * sizeof(iphdr->ip_src), in udp_checksum() 239 iphdr->ip_src.s_addr = htonl(INADDR_LOOPBACK); in send_udp_frags()
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_selftests.c | 40 u32 ip_src; member 182 ihdr->saddr = htonl(attr->ip_src); in stmmac_test_get_udp_skb() 222 __be32 ip_src = htonl(attr->ip_src); 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() 1394 attr.ip_src = src; in __stmmac_test_l3filt() 1625 u32 ip_src = 0xdeadbeef; in stmmac_test_arpoffload() local 1646 attr.ip_src = ip_src; in stmmac_test_arpoffload()
|
| /linux/include/net/ |
| H A D | bond_alb.h | 95 __be32 ip_src; /* the server IP address */ member
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_filters.c | 513 data->ip_src[0] = in aq_set_data_fl3l4() 525 data->ip_src[i] = in aq_set_data_fl3l4() 544 if (data->ip_src[0] && !data->is_ipv6) in aq_set_data_fl3l4()
|
| /linux/net/netfilter/ |
| H A D | nf_log_syslog.c | 38 unsigned char ip_src[4]; member 106 ap->mac_src, ap->ip_src, ap->mac_dst, ap->ip_dst); in dump_arp_packet()
|
| /linux/net/core/ |
| H A D | selftests.c | 100 ihdr->saddr = htonl(attr->ip_src); in net_test_get_skb()
|
| /linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
| H A D | hw_atl_utils.h | 377 u32 ip_src[4]; member
|
| H A D | hw_atl_b0.c | 1472 data->ip_src[0]); in hw_atl_b0_hw_fl3l4_set() 1479 data->ip_src); in hw_atl_b0_hw_fl3l4_set()
|
| /linux/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | action.c | 714 struct nfp_fl_set_ipv6_addr *ip_src, in nfp_fl_set_ip6() argument 737 exact, mask, ip_src); in nfp_fl_set_ip6()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_tc.c | 716 req->ip_src[0] = l3_key->ipv4.saddr.s_addr; in bnxt_hwrm_cfa_flow_alloc() 724 memcpy(req->ip_src, l3_key->ipv6.saddr.s6_addr32, in bnxt_hwrm_cfa_flow_alloc() 725 sizeof(req->ip_src)); in bnxt_hwrm_cfa_flow_alloc()
|