rtnetlink.h (7ae9fb1b7ecbb5d85d07857943f677fd1a559b18) | rtnetlink.h (f534f6581ec084fe94d6759f7672bd009794b07e) |
---|---|
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 *, --- 176 unchanged lines hidden (view full) --- 185 unsigned char name_assign_type, 186 const struct rtnl_link_ops *ops, 187 struct nlattr *tb[], 188 struct netlink_ext_ack *extack); 189int rtnl_delete_link(struct net_device *dev, u32 portid, const struct nlmsghdr *nlh); 190int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm, 191 u32 portid, const struct nlmsghdr *nlh); 192 | 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 *, --- 176 unchanged lines hidden (view full) --- 185 unsigned char name_assign_type, 186 const struct rtnl_link_ops *ops, 187 struct nlattr *tb[], 188 struct netlink_ext_ack *extack); 189int rtnl_delete_link(struct net_device *dev, u32 portid, const struct nlmsghdr *nlh); 190int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm, 191 u32 portid, const struct nlmsghdr *nlh); 192 |
193int rtnl_nla_parse_ifla(struct nlattr **tb, const struct nlattr *head, int len, 194 struct netlink_ext_ack *exterr); | 193int rtnl_nla_parse_ifinfomsg(struct nlattr **tb, const struct nlattr *nla_peer, 194 struct netlink_ext_ack *exterr); |
195struct net *rtnl_get_net_ns_capable(struct sock *sk, int netnsid); 196 197#define MODULE_ALIAS_RTNL_LINK(kind) MODULE_ALIAS("rtnl-link-" kind) 198 199#endif | 195struct net *rtnl_get_net_ns_capable(struct sock *sk, int netnsid); 196 197#define MODULE_ALIAS_RTNL_LINK(kind) MODULE_ALIAS("rtnl-link-" kind) 198 199#endif |