Lines Matching refs:sk_buff
302 struct sk_buff *skb,
305 struct sk_buff *skb,
308 int (*overflow)(struct xfrm_state *x, struct sk_buff *skb);
312 struct xfrm_if *(*decode_session)(struct sk_buff *skb,
365 int (*output)(struct net *net, struct sock *sk, struct sk_buff *skb);
366 int (*transport_finish)(struct sk_buff *skb,
368 void (*local_error)(struct sk_buff *skb, u32 mtu);
379 int (*callback)(struct sk_buff *skb, u8 protocol,
401 int (*input)(struct xfrm_state *, struct sk_buff *skb);
402 int (*output)(struct xfrm_state *, struct sk_buff *pskb);
403 int (*reject)(struct xfrm_state *, struct sk_buff *,
405 int (*hdr_offset)(struct xfrm_state *, struct sk_buff *, u8 **);
415 void (*encap)(struct xfrm_state *, struct sk_buff *pskb);
416 int (*input_tail)(struct xfrm_state *x, struct sk_buff *skb);
417 int (*xmit)(struct xfrm_state *, struct sk_buff *pskb, netdev_features_t features);
705 struct sk_buff *skb);
706 void xfrm_audit_state_replay(struct xfrm_state *x, struct sk_buff *skb,
708 void xfrm_audit_state_notfound_simple(struct sk_buff *skb, u16 family);
709 void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, __be32 net_spi,
711 void xfrm_audit_state_icvfail(struct xfrm_state *x, struct sk_buff *skb,
736 struct sk_buff *skb) in xfrm_audit_state_replay_overflow()
741 struct sk_buff *skb, __be32 net_seq) in xfrm_audit_state_replay()
745 static inline void xfrm_audit_state_notfound_simple(struct sk_buff *skb, in xfrm_audit_state_notfound_simple()
750 static inline void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, in xfrm_audit_state_notfound()
756 struct sk_buff *skb, u8 proto) in xfrm_audit_state_icvfail()
1037 struct sec_path *secpath_set(struct sk_buff *skb);
1040 secpath_reset(struct sk_buff *skb) in secpath_reset()
1086 int __xfrm_policy_check(struct sock *, int dir, struct sk_buff *skb,
1090 struct sk_buff *skb, in __xfrm_policy_check2()
1104 static inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short f… in xfrm_policy_check()
1109 static inline int xfrm4_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm4_policy_check()
1114 static inline int xfrm6_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm6_policy_check()
1120 struct sk_buff *skb) in xfrm4_policy_check_reverse()
1126 struct sk_buff *skb) in xfrm6_policy_check_reverse()
1131 int __xfrm_decode_session(struct sk_buff *skb, struct flowi *fl,
1134 static inline int xfrm_decode_session(struct sk_buff *skb, struct flowi *fl, in xfrm_decode_session()
1140 static inline int xfrm_decode_session_reverse(struct sk_buff *skb, in xfrm_decode_session_reverse()
1147 int __xfrm_route_forward(struct sk_buff *skb, unsigned short family);
1149 static inline int xfrm_route_forward(struct sk_buff *skb, unsigned short family) in xfrm_route_forward()
1158 static inline int xfrm4_route_forward(struct sk_buff *skb) in xfrm4_route_forward()
1163 static inline int xfrm6_route_forward(struct sk_buff *skb) in xfrm6_route_forward()
1201 static inline int xfrm6_route_forward(struct sk_buff *skb) { return 1; } in xfrm6_route_forward()
1202 static inline int xfrm4_route_forward(struct sk_buff *skb) { return 1; } in xfrm4_route_forward()
1203 static inline int xfrm6_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm6_policy_check()
1207 static inline int xfrm4_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm4_policy_check()
1211 static inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short f… in xfrm_policy_check()
1215 static inline int xfrm_decode_session_reverse(struct sk_buff *skb, in xfrm_decode_session_reverse()
1222 struct sk_buff *skb) in xfrm4_policy_check_reverse()
1227 struct sk_buff *skb) in xfrm6_policy_check_reverse()
1396 int (*handler)(struct sk_buff *skb);
1397 int (*input_handler)(struct sk_buff *skb, int nexthdr, __be32 spi,
1399 int (*cb_handler)(struct sk_buff *skb, int err);
1400 int (*err_handler)(struct sk_buff *skb, u32 info);
1407 int (*handler)(struct sk_buff *skb);
1408 int (*input_handler)(struct sk_buff *skb, int nexthdr, __be32 spi,
1410 int (*cb_handler)(struct sk_buff *skb, int err);
1411 int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
1420 int (*handler)(struct sk_buff *skb);
1421 int (*cb_handler)(struct sk_buff *skb, int err);
1422 int (*err_handler)(struct sk_buff *skb, u32 info);
1429 int (*handler)(struct sk_buff *skb);
1430 int (*cb_handler)(struct sk_buff *skb, int err);
1431 int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
1552 int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type);
1553 int xfrm_input_resume(struct sk_buff *skb, int nexthdr);
1554 int xfrm_trans_queue_net(struct net *net, struct sk_buff *skb,
1556 struct sk_buff *));
1557 int xfrm_trans_queue(struct sk_buff *skb,
1559 struct sk_buff *));
1560 int xfrm_output_resume(struct sk_buff *skb, int err);
1561 int xfrm_output(struct sock *sk, struct sk_buff *skb);
1563 int pktgen_xfrm_outer_mode_output(struct xfrm_state *x, struct sk_buff *skb);
1565 void xfrm_local_error(struct sk_buff *skb, int mtu);
1566 int xfrm4_extract_input(struct xfrm_state *x, struct sk_buff *skb);
1567 int xfrm4_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi,
1569 int xfrm4_transport_finish(struct sk_buff *skb, int async);
1570 int xfrm4_rcv(struct sk_buff *skb);
1571 int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq);
1573 static inline int xfrm4_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi) in xfrm4_rcv_spi()
1581 int xfrm4_output(struct net *net, struct sock *sk, struct sk_buff *skb);
1582 int xfrm4_output_finish(struct sock *sk, struct sk_buff *skb);
1587 void xfrm4_local_error(struct sk_buff *skb, u32 mtu);
1588 int xfrm6_extract_input(struct xfrm_state *x, struct sk_buff *skb);
1589 int xfrm6_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi,
1591 int xfrm6_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi,
1593 int xfrm6_transport_finish(struct sk_buff *skb, int async);
1594 int xfrm6_rcv_tnl(struct sk_buff *skb, struct ip6_tnl *t);
1595 int xfrm6_rcv(struct sk_buff *skb);
1596 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
1598 void xfrm6_local_error(struct sk_buff *skb, u32 mtu);
1605 int xfrm6_output(struct net *net, struct sock *sk, struct sk_buff *skb);
1606 int xfrm6_output_finish(struct sock *sk, struct sk_buff *skb);
1607 int xfrm6_find_1stfragopt(struct xfrm_state *x, struct sk_buff *skb,
1611 void xfrm6_local_rxpmtu(struct sk_buff *skb, u32 mtu);
1612 int xfrm4_udp_encap_rcv(struct sock *sk, struct sk_buff *skb);
1613 int xfrm6_udp_encap_rcv(struct sock *sk, struct sk_buff *skb);
1681 int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq);
1822 static inline struct xfrm_state *xfrm_input_state(struct sk_buff *skb) in xfrm_input_state()
1830 static inline struct xfrm_offload *xfrm_offload(struct sk_buff *skb) in xfrm_offload()
1847 void xfrm_dev_resume(struct sk_buff *skb);
1849 struct sk_buff *validate_xmit_xfrm(struct sk_buff *skb, netdev_features_t features, bool *again);
1852 bool xfrm_dev_offload_ok(struct sk_buff *skb, struct xfrm_state *x);
1901 static inline void xfrm_dev_resume(struct sk_buff *skb) in xfrm_dev_resume()
1909 static inline struct sk_buff *validate_xmit_xfrm(struct sk_buff *skb, netdev_features_t features, b… in validate_xmit_xfrm()
1927 static inline bool xfrm_dev_offload_ok(struct sk_buff *skb, struct xfrm_state *x) in xfrm_dev_offload_ok()
1952 static inline int xfrm_mark_put(struct sk_buff *skb, const struct xfrm_mark *m) in xfrm_mark_put()
1968 static inline int xfrm_if_id_put(struct sk_buff *skb, __u32 if_id) in xfrm_if_id_put()
1977 static inline int xfrm_tunnel_check(struct sk_buff *skb, struct xfrm_state *x, in xfrm_tunnel_check()
2003 int (*alloc_compat)(struct sk_buff *skb, const struct nlmsghdr *src);