| /linux/net/batman-adv/ |
| H A D | distributed-arp-table.c | 503 __be32 ip_src; in batadv_dbg_arp() local 509 ip_src = batadv_arp_ip_src(skb, hdr_size); in batadv_dbg_arp() 513 batadv_arp_hw_src(skb, hdr_size), &ip_src, in batadv_dbg_arp() 1079 __be32 ip_src; in batadv_arp_get_type() local 1117 ip_src = batadv_arp_ip_src(skb, hdr_size); in batadv_arp_get_type() 1119 if (ipv4_is_loopback(ip_src) || ipv4_is_multicast(ip_src) || in batadv_arp_get_type() 1121 ipv4_is_zeronet(ip_src) || ipv4_is_lbcast(ip_src) || in batadv_arp_get_type() 1191 batadv_dat_arp_create_reply(struct batadv_priv *bat_priv, __be32 ip_src, in batadv_dat_arp_create_reply() argument 1198 ip_src, hw_dst, hw_src, hw_dst); in batadv_dat_arp_create_reply() 1236 __be32 ip_src; in batadv_dat_snoop_outgoing_arp_request() local [all …]
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 758 ip_addr = &fbd->ip_src[idx]; in fbnic_get_cls_rule() 810 ip_addr = &fbd->ip_src[idx]; in fbnic_get_cls_rule() 906 struct fbnic_ip_addr *ip_src = NULL, *ip_dst = NULL; in fbnic_set_cls_rule_ins() local 983 ip_src = __fbnic_ip4_sync(fbd, fbd->ip_src, in fbnic_set_cls_rule_ins() 985 if (!ip_src) in fbnic_set_cls_rule_ins() 988 set_bit(idx, ip_src->act_tcam); in fbnic_set_cls_rule_ins() 991 ip_src - fbd->ip_src); in fbnic_set_cls_rule_ins() 1002 if (ip_src && ip_src->state == FBNIC_TCAM_S_ADD) in fbnic_set_cls_rule_ins() 1003 memset(ip_src, 0, sizeof(*ip_src)); in fbnic_set_cls_rule_ins() 1051 ip_src = __fbnic_ip6_sync(fbd, fbd->ipo_src, in fbnic_set_cls_rule_ins() [all …]
|
| H A D | fbnic_rpc.c | 1066 for (idx = ARRAY_SIZE(fbd->ip_src); idx--;) { in fbnic_write_ip_addr() 1067 struct fbnic_ip_addr *ip_addr = &fbd->ip_src[idx]; in fbnic_write_ip_addr()
|
| H A D | fbnic_debugfs.c | 504 return fbnic_dbg_ip_addr_show(s, fbd->ip_src); in fbnic_dbg_ip_src_show()
|
| /linux/drivers/net/bonding/ |
| H A D | bond_alb.c | 47 __be32 ip_src; /* sender IP address */ member 256 hash_index = _simple_hash((u8 *)&(arp->ip_src), sizeof(arp->ip_src)); in rlb_update_entry_from_arp() 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() 437 client_info->ip_src, in rlb_update_client() 541 if ((client_info->ip_src == src_ip) && in rlb_req_update_subnet_clients() 570 if ((client_info->ip_src == arp->ip_src) && in rlb_choose_channel() 601 client_info->ip_src == arp->ip_src)) { in rlb_choose_channel() 605 u32 hash_src = _simple_hash((u8 *)&arp->ip_src, in rlb_choose_channel() 606 sizeof(arp->ip_src)); in rlb_choose_channel() [all …]
|
| H A D | bond_debugfs.c | 39 &client_info->ip_src, in bond_debug_rlb_hash_show() 45 &client_info->ip_src, in bond_debug_rlb_hash_show()
|
| /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 | 39 u32 ip_src; member 181 ihdr->saddr = htonl(attr->ip_src); in stmmac_test_get_udp_skb() 221 __be32 ip_src = htonl(attr->ip_src); in stmmac_test_get_arp_skb() local 225 skb = arp_create(ARPOP_REQUEST, ETH_P_ARP, ip_dst, priv->dev, ip_src, in stmmac_test_get_arp_skb() 1374 attr.ip_src = src; in __stmmac_test_l3filt() 1605 u32 ip_src = 0xdeadbeef; in stmmac_test_arpoffload() local 1626 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/include/linux/fsl/ |
| H A D | ntmp.h | 129 __be32 ip_src[4]; member
|
| /linux/net/netfilter/ |
| H A D | nf_log_syslog.c | 38 unsigned char ip_src[4]; member 109 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/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()
|