Searched refs:ND_IFINDEX_LEN (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/staging/gdm724x/
H A Dnetlink_k.c33 #define ND_IFINDEX_LEN sizeof(int) macro
34 #define ND_NLMSG_SPACE(len) (NLMSG_SPACE(len) + ND_IFINDEX_LEN)
36 ND_IFINDEX_LEN))
37 #define ND_NLMSG_S_LEN(len) (len+ND_IFINDEX_LEN)
38 #define ND_NLMSG_R_LEN(nlh) (nlh->nlmsg_len-ND_IFINDEX_LEN)
70 memcpy(&ifindex, ND_NLMSG_IFIDX(nlh), ND_IFINDEX_LEN); netlink_rcv_cb()
/linux-4.1.27/drivers/staging/gdm72xx/
H A Dnetlink_k.c28 #define ND_IFINDEX_LEN sizeof(int) macro
29 #define ND_NLMSG_SPACE(len) (nlmsg_total_size(len) + ND_IFINDEX_LEN)
31 ((void *)((char *)nlmsg_data(nlh) + ND_IFINDEX_LEN))
32 #define ND_NLMSG_S_LEN(len) (len+ND_IFINDEX_LEN)
33 #define ND_NLMSG_R_LEN(nlh) (nlh->nlmsg_len-ND_IFINDEX_LEN)
65 memcpy(&ifindex, ND_NLMSG_IFIDX(nlh), ND_IFINDEX_LEN); netlink_rcv_cb()

Completed in 134 milliseconds