Lines Matching refs:sk_buff
288 struct sk_buff *skb,
291 struct sk_buff *skb,
294 int (*overflow)(struct xfrm_state *x, struct sk_buff *skb);
298 struct xfrm_if *(*decode_session)(struct sk_buff *skb);
318 void (*decode_session)(struct sk_buff *skb,
361 int (*output)(struct net *net, struct sock *sk, struct sk_buff *skb);
362 int (*output_finish)(struct sock *sk, struct sk_buff *skb);
364 struct sk_buff *skb);
366 struct sk_buff *skb);
367 int (*transport_finish)(struct sk_buff *skb,
369 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 **);
417 void (*encap)(struct xfrm_state *, struct sk_buff *pskb);
418 int (*input_tail)(struct xfrm_state *x, struct sk_buff *skb);
419 int (*xmit)(struct xfrm_state *, struct sk_buff *pskb, netdev_features_t features);
437 int (*input2)(struct xfrm_state *x, struct sk_buff *skb);
447 int (*input)(struct xfrm_state *x, struct sk_buff *skb);
460 int (*output2)(struct xfrm_state *x,struct sk_buff *skb);
471 int (*output)(struct xfrm_state *x, struct sk_buff *skb);
476 …struct sk_buff *(*gso_segment)(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t featur…
481 void (*xmit)(struct xfrm_state *x, struct sk_buff *skb);
776 struct sk_buff *skb);
777 void xfrm_audit_state_replay(struct xfrm_state *x, struct sk_buff *skb,
779 void xfrm_audit_state_notfound_simple(struct sk_buff *skb, u16 family);
780 void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, __be32 net_spi,
782 void xfrm_audit_state_icvfail(struct xfrm_state *x, struct sk_buff *skb,
807 struct sk_buff *skb) in xfrm_audit_state_replay_overflow()
812 struct sk_buff *skb, __be32 net_seq) in xfrm_audit_state_replay()
816 static inline void xfrm_audit_state_notfound_simple(struct sk_buff *skb, in xfrm_audit_state_notfound_simple()
821 static inline void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, in xfrm_audit_state_notfound()
827 struct sk_buff *skb, u8 proto) in xfrm_audit_state_icvfail()
1104 static inline int secpath_exists(struct sk_buff *skb) in secpath_exists()
1131 int secpath_set(struct sk_buff *skb);
1134 secpath_reset(struct sk_buff *skb) in secpath_reset()
1181 int __xfrm_policy_check(struct sock *, int dir, struct sk_buff *skb,
1185 struct sk_buff *skb, in __xfrm_policy_check2()
1199 static inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short f… in xfrm_policy_check()
1204 static inline int xfrm4_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm4_policy_check()
1209 static inline int xfrm6_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm6_policy_check()
1215 struct sk_buff *skb) in xfrm4_policy_check_reverse()
1221 struct sk_buff *skb) in xfrm6_policy_check_reverse()
1226 int __xfrm_decode_session(struct sk_buff *skb, struct flowi *fl,
1229 static inline int xfrm_decode_session(struct sk_buff *skb, struct flowi *fl, in xfrm_decode_session()
1235 static inline int xfrm_decode_session_reverse(struct sk_buff *skb, in xfrm_decode_session_reverse()
1242 int __xfrm_route_forward(struct sk_buff *skb, unsigned short family);
1244 static inline int xfrm_route_forward(struct sk_buff *skb, unsigned short family) in xfrm_route_forward()
1253 static inline int xfrm4_route_forward(struct sk_buff *skb) in xfrm4_route_forward()
1258 static inline int xfrm6_route_forward(struct sk_buff *skb) in xfrm6_route_forward()
1296 static inline int xfrm6_route_forward(struct sk_buff *skb) { return 1; } in xfrm6_route_forward()
1297 static inline int xfrm4_route_forward(struct sk_buff *skb) { return 1; } in xfrm4_route_forward()
1298 static inline int xfrm6_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm6_policy_check()
1302 static inline int xfrm4_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm4_policy_check()
1306 static inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short f… in xfrm_policy_check()
1310 static inline int xfrm_decode_session_reverse(struct sk_buff *skb, in xfrm_decode_session_reverse()
1317 struct sk_buff *skb) in xfrm4_policy_check_reverse()
1322 struct sk_buff *skb) in xfrm6_policy_check_reverse()
1474 int (*handler)(struct sk_buff *skb);
1475 int (*input_handler)(struct sk_buff *skb, int nexthdr, __be32 spi,
1477 int (*cb_handler)(struct sk_buff *skb, int err);
1478 int (*err_handler)(struct sk_buff *skb, u32 info);
1485 int (*handler)(struct sk_buff *skb);
1486 int (*cb_handler)(struct sk_buff *skb, int err);
1487 int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
1496 int (*handler)(struct sk_buff *skb);
1497 int (*err_handler)(struct sk_buff *skb, u32 info);
1504 int (*handler)(struct sk_buff *skb);
1505 int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
1627 int xfrm_prepare_input(struct xfrm_state *x, struct sk_buff *skb);
1628 int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type);
1629 int xfrm_input_resume(struct sk_buff *skb, int nexthdr);
1630 int xfrm_trans_queue(struct sk_buff *skb,
1632 struct sk_buff *));
1633 int xfrm_output_resume(struct sk_buff *skb, int err);
1634 int xfrm_output(struct sock *sk, struct sk_buff *skb);
1635 int xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb);
1636 void xfrm_local_error(struct sk_buff *skb, int mtu);
1637 int xfrm4_extract_header(struct sk_buff *skb);
1638 int xfrm4_extract_input(struct xfrm_state *x, struct sk_buff *skb);
1639 int xfrm4_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi,
1641 int xfrm4_transport_finish(struct sk_buff *skb, int async);
1642 int xfrm4_rcv(struct sk_buff *skb);
1643 int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq);
1645 static inline int xfrm4_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi) in xfrm4_rcv_spi()
1653 int xfrm4_extract_output(struct xfrm_state *x, struct sk_buff *skb);
1654 int xfrm4_prepare_output(struct xfrm_state *x, struct sk_buff *skb);
1655 int xfrm4_output(struct net *net, struct sock *sk, struct sk_buff *skb);
1656 int xfrm4_output_finish(struct sock *sk, struct sk_buff *skb);
1657 int xfrm4_rcv_cb(struct sk_buff *skb, u8 protocol, int err);
1662 void xfrm4_local_error(struct sk_buff *skb, u32 mtu);
1663 int xfrm6_extract_header(struct sk_buff *skb);
1664 int xfrm6_extract_input(struct xfrm_state *x, struct sk_buff *skb);
1665 int xfrm6_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi,
1667 int xfrm6_transport_finish(struct sk_buff *skb, int async);
1668 int xfrm6_rcv_tnl(struct sk_buff *skb, struct ip6_tnl *t);
1669 int xfrm6_rcv(struct sk_buff *skb);
1670 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
1672 void xfrm6_local_error(struct sk_buff *skb, u32 mtu);
1673 int xfrm6_rcv_cb(struct sk_buff *skb, u8 protocol, int err);
1680 int xfrm6_extract_output(struct xfrm_state *x, struct sk_buff *skb);
1681 int xfrm6_prepare_output(struct xfrm_state *x, struct sk_buff *skb);
1682 int xfrm6_output(struct net *net, struct sock *sk, struct sk_buff *skb);
1683 int xfrm6_output_finish(struct sock *sk, struct sk_buff *skb);
1684 int xfrm6_find_1stfragopt(struct xfrm_state *x, struct sk_buff *skb,
1688 int xfrm4_udp_encap_rcv(struct sock *sk, struct sk_buff *skb);
1697 static inline int xfrm4_udp_encap_rcv(struct sock *sk, struct sk_buff *skb) in xfrm4_udp_encap_rcv()
1758 int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq);
1903 static inline struct xfrm_state *xfrm_input_state(struct sk_buff *skb) in xfrm_input_state()
1909 static inline struct xfrm_offload *xfrm_offload(struct sk_buff *skb) in xfrm_offload()
1926 void xfrm_dev_resume(struct sk_buff *skb);
1928 struct sk_buff *validate_xmit_xfrm(struct sk_buff *skb, netdev_features_t features, bool *again);
1931 bool xfrm_dev_offload_ok(struct sk_buff *skb, struct xfrm_state *x);
1980 static inline void xfrm_dev_resume(struct sk_buff *skb) in xfrm_dev_resume()
1988 static inline struct sk_buff *validate_xmit_xfrm(struct sk_buff *skb, netdev_features_t features, b… in validate_xmit_xfrm()
2006 static inline bool xfrm_dev_offload_ok(struct sk_buff *skb, struct xfrm_state *x) in xfrm_dev_offload_ok()
2031 static inline int xfrm_mark_put(struct sk_buff *skb, const struct xfrm_mark *m) in xfrm_mark_put()
2047 static inline int xfrm_if_id_put(struct sk_buff *skb, __u32 if_id) in xfrm_if_id_put()
2056 static inline int xfrm_tunnel_check(struct sk_buff *skb, struct xfrm_state *x, in xfrm_tunnel_check()