Home
last modified time | relevance | path

Searched refs:ip_src (Results 1 – 20 of 20) sorted by relevance

/linux-6.15/net/batman-adv/
H A Ddistributed-arp-table.c428 __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 Dfbnic_ethtool.c776 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 Dfbnic.h64 struct fbnic_ip_addr ip_src[FBNIC_RPC_TCAM_IP_ADDR_NUM_ENTRIES]; member
H A Dfbnic_debugfs.c145 return fbnic_dbg_ip_addr_show(s, fbd->ip_src); in fbnic_dbg_ip_src_show()
H A Dfbnic_rpc.c978 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 Dbond_alb.c47 __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 Dbond_debugfs.c38 &client_info->ip_src, in bond_debug_rlb_hash_show()
/linux-6.15/net/bridge/netfilter/
H A Debt_log.c47 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 Dip_defrag.c106 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 Dbond_alb.h95 __be32 ip_src; /* the server IP address */ member
/linux-6.15/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c40 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 Dselftests.c20 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 Daq_filters.c513 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 Dnf_log_syslog.c38 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 Dhw_atl_a0.c930 data->ip_src[0]); in hw_atl_a0_hw_fl3l4_set()
937 data->ip_src); in hw_atl_a0_hw_fl3l4_set()
H A Dhw_atl_utils.h377 u32 ip_src[4]; member
H A Dhw_atl_b0.c1489 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 Daction.c714 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 Dbnxt_tc.c716 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 Dbnxt_hsi.h8334 __be32 ip_src[4]; member