Home
last modified time | relevance | path

Searched refs:lladdr_len (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/include/trace/events/
Dneigh.h83 __field(u8, lladdr_len)
101 int lladdr_len = (n->dev ? n->dev->addr_len : MAX_ADDR_LEN);
107 __entry->lladdr_len = lladdr_len;
108 memcpy(__entry->lladdr, n->ha, lladdr_len);
135 memcpy(__entry->new_lladdr, lladdr, lladdr_len);
146 __print_hex_str(__entry->lladdr, __entry->lladdr_len),
151 __print_hex_str(__entry->new_lladdr, __entry->lladdr_len),
163 __field(u8, lladdr_len)
178 int lladdr_len = (n->dev ? n->dev->addr_len : MAX_ADDR_LEN);
184 __entry->lladdr_len = lladdr_len;
[all …]
/linux-6.6.21/net/mctp/
Dneigh.c26 size_t lladdr_len, const void *lladdr) in mctp_neigh_add() argument
38 if (lladdr_len > sizeof(neigh->ha)) { in mctp_neigh_add()
53 memcpy(neigh->ha, lladdr, lladdr_len); in mctp_neigh_add()
126 int lladdr_len; in mctp_rtm_newneigh() local
152 lladdr_len = nla_len(tb[NDA_LLADDR]); in mctp_rtm_newneigh()
164 if (lladdr_len != dev->addr_len) { in mctp_rtm_newneigh()
170 lladdr_len, lladdr); in mctp_rtm_newneigh()