Lines Matching refs:skb

32 					  struct sk_buff *skb, u16 proto);
34 struct sock *sk, struct sk_buff *skb,
139 struct sk_buff *l3mdev_l3_rcv(struct sk_buff *skb, u16 proto) in l3mdev_l3_rcv() argument
143 if (netif_is_l3_slave(skb->dev)) in l3mdev_l3_rcv()
144 master = netdev_master_upper_dev_get_rcu(skb->dev); in l3mdev_l3_rcv()
145 else if (netif_is_l3_master(skb->dev) || in l3mdev_l3_rcv()
146 netif_has_l3_rx_handler(skb->dev)) in l3mdev_l3_rcv()
147 master = skb->dev; in l3mdev_l3_rcv()
150 skb = master->l3mdev_ops->l3mdev_l3_rcv(master, skb, proto); in l3mdev_l3_rcv()
152 return skb; in l3mdev_l3_rcv()
156 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv() argument
158 return l3mdev_l3_rcv(skb, AF_INET); in l3mdev_ip_rcv()
162 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv() argument
164 return l3mdev_l3_rcv(skb, AF_INET6); in l3mdev_ip6_rcv()
168 struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto) in l3mdev_l3_out() argument
170 struct net_device *dev = skb_dst(skb)->dev; in l3mdev_l3_out()
177 skb = master->l3mdev_ops->l3mdev_l3_out(master, sk, in l3mdev_l3_out()
178 skb, proto); in l3mdev_l3_out()
181 return skb; in l3mdev_l3_out()
185 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out() argument
187 return l3mdev_l3_out(sk, skb, AF_INET); in l3mdev_ip_out()
191 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out() argument
193 return l3mdev_l3_out(sk, skb, AF_INET6); in l3mdev_ip6_out()
242 struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb) in l3mdev_ip_rcv() argument
244 return skb; in l3mdev_ip_rcv()
248 struct sk_buff *l3mdev_ip6_rcv(struct sk_buff *skb) in l3mdev_ip6_rcv() argument
250 return skb; in l3mdev_ip6_rcv()
254 struct sk_buff *l3mdev_ip_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip_out() argument
256 return skb; in l3mdev_ip_out()
260 struct sk_buff *l3mdev_ip6_out(struct sock *sk, struct sk_buff *skb) in l3mdev_ip6_out() argument
262 return skb; in l3mdev_ip6_out()