Lines Matching refs:sk_buff
365 bool (*decode_session)(struct sk_buff *skb,
424 int (*output)(struct net *net, struct sock *sk, struct sk_buff *skb);
425 int (*transport_finish)(struct sk_buff *skb,
427 void (*local_error)(struct sk_buff *skb, u32 mtu);
438 int (*callback)(struct sk_buff *skb, u8 protocol,
459 int (*input)(struct xfrm_state *, struct sk_buff *skb);
460 int (*output)(struct xfrm_state *, struct sk_buff *pskb);
461 int (*reject)(struct xfrm_state *, struct sk_buff *,
471 void (*encap)(struct xfrm_state *, struct sk_buff *pskb);
472 int (*input_tail)(struct xfrm_state *x, struct sk_buff *skb);
473 int (*xmit)(struct xfrm_state *, struct sk_buff *pskb, netdev_features_t features);
516 int (*copy_to_user)(struct xfrm_state *x, struct sk_buff *skb);
519 int (*input)(struct xfrm_state *x, struct sk_buff *skb);
520 int (*output)(struct net *net, struct sock *sk, struct sk_buff *skb);
521 int (*prepare_output)(struct xfrm_state *x, struct sk_buff *skb);
855 struct sk_buff *skb);
856 void xfrm_audit_state_replay(struct xfrm_state *x, struct sk_buff *skb,
858 void xfrm_audit_state_notfound_simple(struct sk_buff *skb, u16 family);
859 void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, __be32 net_spi,
861 void xfrm_audit_state_icvfail(struct xfrm_state *x, struct sk_buff *skb,
886 struct sk_buff *skb) in xfrm_audit_state_replay_overflow()
891 struct sk_buff *skb, __be32 net_seq) in xfrm_audit_state_replay()
895 static inline void xfrm_audit_state_notfound_simple(struct sk_buff *skb, in xfrm_audit_state_notfound_simple()
900 static inline void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, in xfrm_audit_state_notfound()
906 struct sk_buff *skb, u8 proto) in xfrm_audit_state_icvfail()
1194 struct sec_path *secpath_set(struct sk_buff *skb);
1197 secpath_reset(struct sk_buff *skb) in secpath_reset()
1243 static inline struct xfrm_state *xfrm_input_state(struct sk_buff *skb) in xfrm_input_state()
1251 static inline struct xfrm_offload *xfrm_offload(struct sk_buff *skb) in xfrm_offload()
1266 int __xfrm_policy_check(struct sock *, int dir, struct sk_buff *skb,
1269 static inline bool __xfrm_check_nopolicy(struct net *net, struct sk_buff *skb, in __xfrm_check_nopolicy()
1278 static inline bool __xfrm_check_dev_nopolicy(struct sk_buff *skb, in __xfrm_check_dev_nopolicy()
1291 struct sk_buff *skb, in __xfrm_policy_check2()
1324 static inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short f… in xfrm_policy_check()
1329 static inline int xfrm4_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm4_policy_check()
1334 static inline int xfrm6_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm6_policy_check()
1340 struct sk_buff *skb) in xfrm4_policy_check_reverse()
1346 struct sk_buff *skb) in xfrm6_policy_check_reverse()
1351 int __xfrm_decode_session(struct net *net, struct sk_buff *skb, struct flowi *fl,
1354 static inline int xfrm_decode_session(struct net *net, struct sk_buff *skb, struct flowi *fl, in xfrm_decode_session()
1360 static inline int xfrm_decode_session_reverse(struct net *net, struct sk_buff *skb, in xfrm_decode_session_reverse()
1367 int __xfrm_route_forward(struct sk_buff *skb, unsigned short family);
1369 static inline int xfrm_route_forward(struct sk_buff *skb, unsigned short family) in xfrm_route_forward()
1381 static inline int xfrm4_route_forward(struct sk_buff *skb) in xfrm4_route_forward()
1386 static inline int xfrm6_route_forward(struct sk_buff *skb) in xfrm6_route_forward()
1426 static inline int xfrm6_route_forward(struct sk_buff *skb) { return 1; } in xfrm6_route_forward()
1427 static inline int xfrm4_route_forward(struct sk_buff *skb) { return 1; } in xfrm4_route_forward()
1428 static inline int xfrm6_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm6_policy_check()
1432 static inline int xfrm4_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm4_policy_check()
1436 static inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short f… in xfrm_policy_check()
1440 static inline int xfrm_decode_session_reverse(struct net *net, struct sk_buff *skb, in xfrm_decode_session_reverse()
1447 struct sk_buff *skb) in xfrm4_policy_check_reverse()
1452 struct sk_buff *skb) in xfrm6_policy_check_reverse()
1621 int (*handler)(struct sk_buff *skb);
1622 int (*input_handler)(struct sk_buff *skb, int nexthdr, __be32 spi,
1624 int (*cb_handler)(struct sk_buff *skb, int err);
1625 int (*err_handler)(struct sk_buff *skb, u32 info);
1632 int (*handler)(struct sk_buff *skb);
1633 int (*input_handler)(struct sk_buff *skb, int nexthdr, __be32 spi,
1635 int (*cb_handler)(struct sk_buff *skb, int err);
1636 int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
1645 int (*handler)(struct sk_buff *skb);
1646 int (*cb_handler)(struct sk_buff *skb, int err);
1647 int (*err_handler)(struct sk_buff *skb, u32 info);
1654 int (*handler)(struct sk_buff *skb);
1655 int (*cb_handler)(struct sk_buff *skb, int err);
1656 int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
1798 int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type);
1799 int xfrm_input_resume(struct sk_buff *skb, int nexthdr);
1800 int xfrm_trans_queue_net(struct net *net, struct sk_buff *skb,
1802 struct sk_buff *));
1803 int xfrm_trans_queue(struct sk_buff *skb,
1805 struct sk_buff *));
1806 int xfrm_output_resume(struct sock *sk, struct sk_buff *skb, int err);
1807 int xfrm_output(struct sock *sk, struct sk_buff *skb);
1808 int xfrm4_tunnel_check_size(struct sk_buff *skb);
1810 int xfrm6_tunnel_check_size(struct sk_buff *skb);
1812 static inline int xfrm6_tunnel_check_size(struct sk_buff *skb) in xfrm6_tunnel_check_size()
1819 int pktgen_xfrm_outer_mode_output(struct xfrm_state *x, struct sk_buff *skb);
1822 void xfrm_local_error(struct sk_buff *skb, int mtu);
1823 int xfrm4_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi,
1825 int xfrm4_transport_finish(struct sk_buff *skb, int async);
1826 int xfrm4_rcv(struct sk_buff *skb);
1828 static inline int xfrm4_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi) in xfrm4_rcv_spi()
1836 int xfrm4_output(struct net *net, struct sock *sk, struct sk_buff *skb);
1841 void xfrm4_local_error(struct sk_buff *skb, u32 mtu);
1842 int xfrm6_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi,
1844 int xfrm6_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi,
1846 int xfrm6_transport_finish(struct sk_buff *skb, int async);
1847 int xfrm6_rcv_tnl(struct sk_buff *skb, struct ip6_tnl *t);
1848 int xfrm6_rcv(struct sk_buff *skb);
1849 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
1851 void xfrm6_local_error(struct sk_buff *skb, u32 mtu);
1858 int xfrm6_output(struct net *net, struct sock *sk, struct sk_buff *skb);
1861 void xfrm6_local_rxpmtu(struct sk_buff *skb, u32 mtu);
1862 int xfrm4_udp_encap_rcv(struct sock *sk, struct sk_buff *skb);
1863 int xfrm6_udp_encap_rcv(struct sock *sk, struct sk_buff *skb);
1864 struct sk_buff *xfrm4_gro_udp_encap_rcv(struct sock *sk, struct list_head *head,
1865 struct sk_buff *skb);
1866 struct sk_buff *xfrm6_gro_udp_encap_rcv(struct sock *sk, struct list_head *head,
1867 struct sk_buff *skb);
1944 int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq);
1987 int xfrm_replay_check(struct xfrm_state *x, struct sk_buff *skb, __be32 net_seq);
1989 int xfrm_replay_overflow(struct xfrm_state *x, struct sk_buff *skb);
1990 int xfrm_replay_recheck(struct xfrm_state *x, struct sk_buff *skb, __be32 net_seq);
2121 void xfrm_dev_resume(struct sk_buff *skb);
2123 struct sk_buff *validate_xmit_xfrm(struct sk_buff *skb, netdev_features_t features, bool *again);
2130 bool xfrm_dev_offload_ok(struct sk_buff *skb, struct xfrm_state *x);
2183 static inline void xfrm_dev_resume(struct sk_buff *skb) in xfrm_dev_resume()
2191 static inline struct sk_buff *validate_xmit_xfrm(struct sk_buff *skb, netdev_features_t features, b… in validate_xmit_xfrm()
2226 static inline bool xfrm_dev_offload_ok(struct sk_buff *skb, struct xfrm_state *x) in xfrm_dev_offload_ok()
2251 static inline int xfrm_mark_put(struct sk_buff *skb, const struct xfrm_mark *m) in xfrm_mark_put()
2267 static inline int xfrm_if_id_put(struct sk_buff *skb, __u32 if_id) in xfrm_if_id_put()
2276 static inline int xfrm_tunnel_check(struct sk_buff *skb, struct xfrm_state *x, in xfrm_tunnel_check()
2302 int (*alloc_compat)(struct sk_buff *skb, const struct nlmsghdr *src);