Searched refs:ifinfomsg (Results 1 - 25 of 33) sorted by relevance

12

/linux-master/tools/lib/bpf/
H A Dnlattr.h60 struct ifinfomsg ifinfo;
H A Dnetlink.c294 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
348 struct ifinfomsg *ifi = NLMSG_DATA(nlh);
364 struct ifinfomsg *ifinfo = msg;
434 .nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)),
/linux-master/tools/testing/selftests/net/tcp_ao/lib/
H A Dnetlink.c112 struct ifinfomsg pi;
140 struct ifinfomsg info;
312 struct ifinfomsg info;
354 struct ifinfomsg info;
/linux-master/tools/bpf/bpftool/
H A Dmain.h236 struct ifinfomsg;
238 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb);
H A Dnetlink_dumper.c72 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb)
H A Dnet.c328 struct ifinfomsg *ifi = NLMSG_DATA(nlh);
344 struct ifinfomsg ifm;
346 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)),
364 struct ifinfomsg *ifinfo = msg;
/linux-master/include/net/
H A Drtnetlink.h191 int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm,
/linux-master/drivers/net/can/
H A Dvxcan.c186 struct ifinfomsg *ifmp = NULL;
287 [VXCAN_INFO_PEER] = { .len = sizeof(struct ifinfomsg) },
/linux-master/tools/testing/selftests/net/
H A Dtap.c89 struct ifinfomsg info;
147 struct ifinfomsg info;
H A Dtun.c71 struct ifinfomsg ifm;
H A Dipsec.c262 struct ifinfomsg pi;
313 struct ifinfomsg info;
403 struct ifinfomsg info;
/linux-master/net/core/
H A Drtnetlink.c892 const struct ifinfomsg *ifm)
1067 return NLMSG_ALIGN(sizeof(struct ifinfomsg))
1815 struct ifinfomsg *ifm;
2163 struct ifinfomsg *ifm;
2187 * The correct header is ifinfomsg. It is consistent with rtnl_getlink.
2191 * attribute, its netlink message is shorter than struct ifinfomsg.
2193 hdrlen = nlmsg_len(nlh) < sizeof(struct ifinfomsg) ?
2194 sizeof(struct rtgenmsg) : sizeof(struct ifinfomsg);
2284 const struct ifinfomsg *ifmp;
2289 attrs = nla_data(nla_peer) + sizeof(struct ifinfomsg);
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxfrm_info.c207 struct ifinfomsg info;
H A Dtc_redirect.c154 struct ifinfomsg i;
164 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
175 req.n.nlmsg_len += sizeof(struct ifinfomsg);
H A Dtc_netkit.c31 struct ifinfomsg i;
49 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
/linux-master/include/uapi/linux/
H A Dif_link.h397 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
398 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
H A Drtnetlink.h556 /* struct ifinfomsg
561 struct ifinfomsg { struct
/linux-master/tools/include/uapi/linux/
H A Dif_link.h397 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
398 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
/linux-master/net/bridge/
H A Dbr_netlink.c220 return NLMSG_ALIGN(sizeof(struct ifinfomsg))
462 struct ifinfomsg *hdr;
1096 protinfo = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_PROTINFO);
1097 afspec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC);
1152 afspec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC);
/linux-master/tools/testing/selftests/bpf/
H A Dxsk.c88 struct ifinfomsg msg;
404 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
/linux-master/drivers/net/
H A Dnetkit.c319 struct ifinfomsg *ifmp = NULL;
915 [IFLA_NETKIT_PEER_INFO] = { .len = sizeof(struct ifinfomsg) },
H A Dveth.c1776 struct ifinfomsg *ifmp;
1924 [VETH_INFO_PEER] = { .len = sizeof(struct ifinfomsg) },
/linux-master/net/wireless/
H A Dwext-core.c422 struct ifinfomsg *r;
/linux-master/net/ipv4/
H A Dipmr.c2809 struct ifinfomsg *ifm;
2851 struct ifinfomsg *hdr;
/linux-master/net/ipv6/
H A Daddrconf.c5730 return NLMSG_ALIGN(sizeof(struct ifinfomsg))
6047 struct ifinfomsg *hdr;
6094 struct ifinfomsg *ifm;

Completed in 430 milliseconds

12