Home
last modified time | relevance | path

Searched refs:ifinfomsg (Results 1 – 25 of 31) sorted by relevance

12

/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dnetlink.c141 struct ifinfomsg ifinfo; in __bpf_set_link_xdp_fd_replace()
151 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in __bpf_set_link_xdp_fd_replace()
229 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg()
244 struct ifinfomsg *ifinfo = msg; in get_xdp_info()
357 struct ifinfomsg ifm; in libbpf_nl_get_link()
359 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)), in libbpf_nl_get_link()
/OK3568_Linux_fs/kernel/drivers/net/can/
H A Dvxcan.c173 struct ifinfomsg *ifmp = NULL; in vxcan_newlink()
184 sizeof(struct ifinfomsg), in vxcan_newlink()
186 sizeof(struct ifinfomsg), in vxcan_newlink()
279 [VXCAN_INFO_PEER] = { .len = sizeof(struct ifinfomsg) },
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Doperstates.rst39 ifinfomsg::if_flags & IFF_UP:
42 ifinfomsg::if_flags & IFF_RUNNING:
47 ifinfomsg::if_flags & IFF_LOWER_UP:
50 ifinfomsg::if_flags & IFF_DORMANT:
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dnet.c319 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg()
335 struct ifinfomsg ifm; in netlink_get_link()
337 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)), in netlink_get_link()
355 struct ifinfomsg *ifinfo = msg; in dump_link_nlmsg()
H A Dmain.h253 struct ifinfomsg;
255 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) in do_xdp_dump()
/OK3568_Linux_fs/kernel/net/core/
H A Drtnetlink.c866 const struct ifinfomsg *ifm) in rtnl_dev_combine_flags()
1016 return NLMSG_ALIGN(sizeof(struct ifinfomsg)) in if_nlmsg_size()
1706 struct ifinfomsg *ifm; in rtnl_fill_ifinfo()
2019 struct ifinfomsg *ifm; in rtnl_valid_dump_ifinfo_req()
2049 hdrlen = nlmsg_len(nlh) < sizeof(struct ifinfomsg) ? in rtnl_valid_dump_ifinfo_req()
2050 sizeof(struct rtgenmsg) : sizeof(struct ifinfomsg); in rtnl_valid_dump_ifinfo_req()
2594 struct net_device *dev, struct ifinfomsg *ifm, in do_setlink()
2973 struct ifinfomsg *ifm; in rtnl_setlink()
3070 struct ifinfomsg *ifm; in rtnl_dellink()
3119 int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm) in rtnl_configure_link()
[all …]
/OK3568_Linux_fs/app/forlinx/quectelCM/libmnl/
H A Difutils.c83 struct ifinfomsg *ifm; in if_act_on_link()
169 struct ifinfomsg *ifm; in if_set_mtu()
189 ifm = mnl_nlmsg_put_extra_header(nlh, sizeof(struct ifinfomsg)); in if_set_mtu()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-protocols/mdns/mdns/
H A D0004-Use-list-for-changed-interfaces.patch89 - result |= 1 << ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->ifi_index;
90 + AddInterfaceIndexToList(changedInterfaces, ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->i…
H A D0008-Mark-deleted-interfaces-as-being-changed.patch34 … AddInterfaceIndexToList(changedInterfaces, ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->ifi_index);
/OK3568_Linux_fs/kernel/include/net/
H A Drtnetlink.h167 int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm);
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dif_link.h177 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
178 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
H A Drtnetlink.h508 struct ifinfomsg { struct
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dif_link.h177 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
178 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
H A Drtnetlink.h508 struct ifinfomsg { struct
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dif_link.h360 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
361 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
H A Drtnetlink.h533 struct ifinfomsg { struct
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dif_link.h181 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
182 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_netlink.c162 return NLMSG_ALIGN(sizeof(struct ifinfomsg)) in br_nlmsg_size()
386 struct ifinfomsg *hdr; in br_fill_ifinfo()
918 protinfo = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_PROTINFO); in br_setlink()
919 afspec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in br_setlink()
974 afspec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in br_dellink()
/OK3568_Linux_fs/kernel/drivers/net/
H A Dveth.c1304 struct ifinfomsg *ifmp; in veth_newlink()
1316 nla_data(nla_peer) + sizeof(struct ifinfomsg), in veth_newlink()
1317 nla_len(nla_peer) - sizeof(struct ifinfomsg), in veth_newlink()
1439 [VETH_INFO_PEER] = { .len = sizeof(struct ifinfomsg) },
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dipsec.c224 struct ifinfomsg pi; in veth_pack_peerb()
275 struct ifinfomsg info; in veth_add()
365 struct ifinfomsg info; in link_set_up()
/OK3568_Linux_fs/kernel/net/wireless/
H A Dwext-core.c421 struct ifinfomsg *r; in rtnetlink_ifinfo_prep()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dipmr.c2788 struct ifinfomsg *ifm; in ipmr_valid_dumplink()
2830 struct ifinfomsg *hdr; in ipmr_rtm_dumplink()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Daddrconf.c5602 return NLMSG_ALIGN(sizeof(struct ifinfomsg)) in inet6_if_nlmsg_size()
5889 struct ifinfomsg *hdr; in inet6_fill_ifinfo()
5933 struct ifinfomsg *ifm; in inet6_valid_dump_ifinfo()
/OK3568_Linux_fs/kernel/drivers/s390/net/
H A Dqeth_l2_main.c813 nlmsg_for_each_attr(attr, nlh, sizeof(struct ifinfomsg), rem1) { in qeth_l2_bridge_setlink()

12