rtnetlink.h (7168e947291f0ead07e5638b4599fb7845288b69) rtnetlink.h (d5566fd72ec1924958fcfd48b65c022c8f7eae64)
1#ifndef __NET_RTNETLINK_H
2#define __NET_RTNETLINK_H
3
4#include <linux/rtnetlink.h>
5#include <net/netlink.h>
6
7typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *);
8typedef int (*rtnl_dumpit_func)(struct sk_buff *, struct netlink_callback *);

--- 108 unchanged lines hidden (view full) ---

117 * @set_link_af: Function to parse a IFLA_AF_SPEC attribute and modify
118 * net_device accordingly.
119 */
120struct rtnl_af_ops {
121 struct list_head list;
122 int family;
123
124 int (*fill_link_af)(struct sk_buff *skb,
1#ifndef __NET_RTNETLINK_H
2#define __NET_RTNETLINK_H
3
4#include <linux/rtnetlink.h>
5#include <net/netlink.h>
6
7typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *);
8typedef int (*rtnl_dumpit_func)(struct sk_buff *, struct netlink_callback *);

--- 108 unchanged lines hidden (view full) ---

117 * @set_link_af: Function to parse a IFLA_AF_SPEC attribute and modify
118 * net_device accordingly.
119 */
120struct rtnl_af_ops {
121 struct list_head list;
122 int family;
123
124 int (*fill_link_af)(struct sk_buff *skb,
125 const struct net_device *dev);
125 const struct net_device *dev,
126 u32 ext_filter_mask);
126 size_t (*get_link_af_size)(const struct net_device *dev);
127
128 int (*validate_link_af)(const struct net_device *dev,
129 const struct nlattr *attr);
130 int (*set_link_af)(struct net_device *dev,
131 const struct nlattr *attr);
132};
133

--- 18 unchanged lines hidden ---
127 size_t (*get_link_af_size)(const struct net_device *dev);
128
129 int (*validate_link_af)(const struct net_device *dev,
130 const struct nlattr *attr);
131 int (*set_link_af)(struct net_device *dev,
132 const struct nlattr *attr);
133};
134

--- 18 unchanged lines hidden ---