rtnetlink.h (c74a7469f97c0f40b46e82ee979f9fb1bb6e847c) | rtnetlink.h (c383edc42403b0bca31cbaabafd44dd58afb202f) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __NET_RTNETLINK_H 3#define __NET_RTNETLINK_H 4 5#include <linux/rtnetlink.h> 6#include <net/netlink.h> 7 8typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *, --- 151 unchanged lines hidden (view full) --- 160 unsigned char name_assign_type, 161 const struct rtnl_link_ops *ops, 162 struct nlattr *tb[]); 163int rtnl_delete_link(struct net_device *dev); 164int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm); 165 166int rtnl_nla_parse_ifla(struct nlattr **tb, const struct nlattr *head, int len, 167 struct netlink_ext_ack *exterr); | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __NET_RTNETLINK_H 3#define __NET_RTNETLINK_H 4 5#include <linux/rtnetlink.h> 6#include <net/netlink.h> 7 8typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *, --- 151 unchanged lines hidden (view full) --- 160 unsigned char name_assign_type, 161 const struct rtnl_link_ops *ops, 162 struct nlattr *tb[]); 163int rtnl_delete_link(struct net_device *dev); 164int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm); 165 166int rtnl_nla_parse_ifla(struct nlattr **tb, const struct nlattr *head, int len, 167 struct netlink_ext_ack *exterr); |
168struct net *rtnl_get_net_ns_capable(struct sock *sk, int netnsid); |
|
168 169#define MODULE_ALIAS_RTNL_LINK(kind) MODULE_ALIAS("rtnl-link-" kind) 170 171#endif | 169 170#define MODULE_ALIAS_RTNL_LINK(kind) MODULE_ALIAS("rtnl-link-" kind) 171 172#endif |