| /linux-6.15/net/batman-adv/ |
| H A D | distributed-arp-table.c | 428 __be32 ip_src, ip_dst; in batadv_dbg_arp() local 994 __be32 ip_src, ip_dst; in batadv_arp_get_type() local 1032 if (ipv4_is_loopback(ip_src) || ipv4_is_multicast(ip_src) || in batadv_arp_get_type() 1034 ipv4_is_zeronet(ip_src) || ipv4_is_lbcast(ip_src) || in batadv_arp_get_type() 1130 __be32 ip_dst, ip_src; in batadv_dat_snoop_outgoing_arp_request() local 1226 __be32 ip_src, ip_dst; in batadv_dat_snoop_incoming_arp_request() local 1291 __be32 ip_src, ip_dst; in batadv_dat_snoop_outgoing_arp_reply() local 1339 __be32 ip_src, ip_dst; in batadv_dat_snoop_incoming_arp_reply() local 1712 __be32 ip_src, yiaddr; in batadv_dat_snoop_outgoing_dhcp_ack() local 1721 ip_src, vid); in batadv_dat_snoop_outgoing_dhcp_ack() [all …]
|
| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 776 ip_src = __fbnic_ip4_sync(fbd, fbd->ip_src, in fbnic_set_cls_rule_ins() 778 if (!ip_src) in fbnic_set_cls_rule_ins() 784 ip_src - fbd->ip_src); in fbnic_set_cls_rule_ins() 795 if (ip_src && ip_src->state == FBNIC_TCAM_S_ADD) in fbnic_set_cls_rule_ins() 796 memset(ip_src, 0, sizeof(*ip_src)); in fbnic_set_cls_rule_ins() 865 if (ip_src && ip_src->state == FBNIC_TCAM_S_ADD) in fbnic_set_cls_rule_ins() 866 memset(ip_src, 0, sizeof(*ip_src)); in fbnic_set_cls_rule_ins() 885 ip_src = __fbnic_ip6_sync(fbd, fbd->ip_src, in fbnic_set_cls_rule_ins() 893 ip_src - fbd->ip_src); in fbnic_set_cls_rule_ins() 904 if (ip_src && ip_src->state == FBNIC_TCAM_S_ADD) in fbnic_set_cls_rule_ins() [all …]
|
| H A D | fbnic.h | 64 struct fbnic_ip_addr ip_src[FBNIC_RPC_TCAM_IP_ADDR_NUM_ENTRIES]; member
|
| H A D | fbnic_debugfs.c | 145 return fbnic_dbg_ip_addr_show(s, fbd->ip_src); in fbnic_dbg_ip_src_show()
|
| H A D | fbnic_rpc.c | 978 for (idx = ARRAY_SIZE(fbd->ip_src); idx--;) { in fbnic_write_ip_addr() 979 struct fbnic_ip_addr *ip_addr = &fbd->ip_src[idx]; in fbnic_write_ip_addr()
|
| /linux-6.15/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() 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() 606 sizeof(arp->ip_src)); in rlb_choose_channel() 611 client_info->ip_src = arp->ip_src; in rlb_choose_channel() 837 u32 ip_src_hash = _simple_hash((u8 *)&(arp->ip_src), sizeof(arp->ip_src)); in rlb_purge_src_ip() [all …]
|
| H A D | bond_debugfs.c | 38 &client_info->ip_src, in bond_debug_rlb_hash_show()
|
| /linux-6.15/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-6.15/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-6.15/include/net/ |
| H A D | bond_alb.h | 95 __be32 ip_src; /* the server IP address */ member
|
| /linux-6.15/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-6.15/net/core/ |
| H A D | selftests.c | 20 u32 ip_src; member 135 ihdr->saddr = htonl(attr->ip_src); in net_test_get_skb()
|
| /linux-6.15/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-6.15/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-6.15/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
| H A D | hw_atl_a0.c | 930 data->ip_src[0]); in hw_atl_a0_hw_fl3l4_set() 937 data->ip_src); in hw_atl_a0_hw_fl3l4_set()
|
| H A D | hw_atl_utils.h | 377 u32 ip_src[4]; member
|
| H A D | hw_atl_b0.c | 1489 data->ip_src[0]); in hw_atl_b0_hw_fl3l4_set() 1496 data->ip_src); in hw_atl_b0_hw_fl3l4_set()
|
| /linux-6.15/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-6.15/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()
|
| H A D | bnxt_hsi.h | 8334 __be32 ip_src[4]; member
|