Home
last modified time | relevance | path

Searched refs:MAX_ADDR_LEN (Results 1 – 25 of 39) sorted by relevance

12

/linux-5.19.10/include/trace/events/
Dneigh.h82 __array(u8, lladdr, MAX_ADDR_LEN)
94 __array(u8, new_lladdr, MAX_ADDR_LEN)
101 int lladdr_len = (n->dev ? n->dev->addr_len : MAX_ADDR_LEN);
162 __array(u8, lladdr, MAX_ADDR_LEN)
178 int lladdr_len = (n->dev ? n->dev->addr_len : MAX_ADDR_LEN);
/linux-5.19.10/arch/x86/boot/compressed/
Dacpi.c175 #define MAX_ADDR_LEN 19 macro
182 char val[MAX_ADDR_LEN] = { }; in get_cmdline_acpi_rsdp()
185 ret = cmdline_find_option("acpi_rsdp", val, MAX_ADDR_LEN); in get_cmdline_acpi_rsdp()
/linux-5.19.10/include/rdma/
Dib_addr.h37 unsigned char src_dev_addr[MAX_ADDR_LEN];
38 unsigned char dst_dev_addr[MAX_ADDR_LEN];
39 unsigned char broadcast[MAX_ADDR_LEN];
/linux-5.19.10/include/net/
Dmctp.h188 unsigned char haddr[MAX_ADDR_LEN];
278 unsigned char ha[MAX_ADDR_LEN];
Dneighbour.h154 unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))] __aligned(8);
Dbonding.h181 u8 perm_hwaddr[MAX_ADDR_LEN];
/linux-5.19.10/include/uapi/linux/
Dnetdevice.h35 #define MAX_ADDR_LEN 32 /* Largest hardware address length */ macro
Dmctp.h37 __u8 smctp_haddr[MAX_ADDR_LEN];
/linux-5.19.10/net/core/
Ddev_addr_lists.c81 if (addr_len > MAX_ADDR_LEN) in __hw_addr_add_ex()
513 if (!memcmp(dev->dev_addr, dev->dev_addr_shadow, MAX_ADDR_LEN)) in dev_addr_check()
516 netdev_warn(dev, "Current addr: %*ph\n", MAX_ADDR_LEN, dev->dev_addr); in dev_addr_check()
518 MAX_ADDR_LEN, dev->dev_addr_shadow); in dev_addr_check()
550 unsigned char addr[MAX_ADDR_LEN]; in dev_addr_init()
Dneighbour.c1847 [NDA_DST] = { .type = NLA_BINARY, .len = MAX_ADDR_LEN },
1848 [NDA_LLADDR] = { .type = NLA_BINARY, .len = MAX_ADDR_LEN },
2552 char haddr[MAX_ADDR_LEN]; in neigh_fill_info()
2926 + nla_total_size(MAX_ADDR_LEN) /* NDA_DST */ in neigh_nlmsg_size()
2927 + nla_total_size(MAX_ADDR_LEN) /* NDA_LLADDR */ in neigh_nlmsg_size()
2958 + nla_total_size(MAX_ADDR_LEN) /* NDA_DST */ in pneigh_nlmsg_size()
Drtnetlink.c1053 + nla_total_size(MAX_ADDR_LEN) /* IFLA_ADDRESS */ in if_nlmsg_size()
1054 + nla_total_size(MAX_ADDR_LEN) /* IFLA_BROADCAST */ in if_nlmsg_size()
1094 + nla_total_size(MAX_ADDR_LEN) /* IFLA_PERM_ADDRESS */ in if_nlmsg_size()
1880 [IFLA_ADDRESS] = { .type = NLA_BINARY, .len = MAX_ADDR_LEN },
1881 [IFLA_BROADCAST] = { .type = NLA_BINARY, .len = MAX_ADDR_LEN },
4946 + nla_total_size(MAX_ADDR_LEN) /* IFLA_ADDRESS */ in bridge_nlmsg_size()
/linux-5.19.10/net/packet/
Dinternal.h13 unsigned char addr[MAX_ADDR_LEN];
/linux-5.19.10/net/mpls/
Dinternal.h76 #define MAX_VIA_ALEN (ALIGN(MAX_ADDR_LEN, VIA_ALEN_ALIGN))
/linux-5.19.10/drivers/infiniband/core/
Daddr.c239 memcpy(dev_addr->src_dev_addr, dev->dev_addr, MAX_ADDR_LEN); in rdma_copy_src_l2_addr()
240 memcpy(dev_addr->broadcast, dev->broadcast, MAX_ADDR_LEN); in rdma_copy_src_l2_addr()
464 memcpy(addr->dst_dev_addr, addr->src_dev_addr, MAX_ADDR_LEN); in addr_resolve_neigh()
/linux-5.19.10/include/linux/
Dif_team.h58 unsigned char dev_addr[MAX_ADDR_LEN];
Dnetdevice.h226 unsigned char addr[MAX_ADDR_LEN];
2102 unsigned char perm_addr[MAX_ADDR_LEN];
2199 unsigned char broadcast[MAX_ADDR_LEN];
2344 u8 dev_addr_shadow[MAX_ADDR_LEN];
/linux-5.19.10/net/mctp/
Dneigh.c112 [NDA_LLADDR] = { .type = NLA_BINARY, .len = MAX_ADDR_LEN },
/linux-5.19.10/drivers/net/bonding/
Dbond_alb.c1040 u8 tmp_mac_addr[MAX_ADDR_LEN]; in alb_swap_mac_addr()
1233 char tmp_addr[MAX_ADDR_LEN]; in alb_set_mac_address()
1746 u8 tmp_addr[MAX_ADDR_LEN]; in bond_alb_handle_active_change()
Dbond_netlink.c25 nla_total_size(MAX_ADDR_LEN) + /* IFLA_BOND_SLAVE_PERM_HWADDR */ in bond_get_slave_size()
/linux-5.19.10/net/sched/
Dsch_teql.c242 char haddr[MAX_ADDR_LEN]; in __teql_resolve()
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c832 memset(perm_addr, 0xff, MAX_ADDR_LEN); in i40e_dcbnl_get_perm_hw_addr()
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c150 memset(perm_addr, 0xff, MAX_ADDR_LEN); in ixgbe_dcbnl_get_perm_hw_addr()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c201 memset(perm_addr, 0xff, MAX_ADDR_LEN); in ice_dcbnl_get_perm_hw_addr()
/linux-5.19.10/drivers/s390/net/
Dlcs.c1153 char buf[MAX_ADDR_LEN]; in lcs_remove_mc_addresses()
1202 char buf[MAX_ADDR_LEN]; in lcs_set_mc_addresses()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c689 memset(perm_addr, 0xff, MAX_ADDR_LEN); in mlx5e_dcbnl_getpermhwaddr()

12