Lines Matching refs:sk_buff

272 			 struct sk_buff *skb,
275 struct sk_buff *skb,
278 int (*overflow)(struct xfrm_state *x, struct sk_buff *skb);
295 void (*decode_session)(struct sk_buff *skb,
336 int (*output)(struct net *net, struct sock *sk, struct sk_buff *skb);
337 int (*output_finish)(struct sock *sk, struct sk_buff *skb);
339 struct sk_buff *skb);
341 struct sk_buff *skb);
342 int (*transport_finish)(struct sk_buff *skb,
344 void (*local_error)(struct sk_buff *skb, u32 mtu);
355 int (*callback)(struct sk_buff *skb, u8 protocol,
376 int (*input)(struct xfrm_state *, struct sk_buff *skb);
377 int (*output)(struct xfrm_state *, struct sk_buff *pskb);
378 int (*reject)(struct xfrm_state *, struct sk_buff *,
380 int (*hdr_offset)(struct xfrm_state *, struct sk_buff *, u8 **);
400 int (*input2)(struct xfrm_state *x, struct sk_buff *skb);
410 int (*input)(struct xfrm_state *x, struct sk_buff *skb);
423 int (*output2)(struct xfrm_state *x,struct sk_buff *skb);
434 int (*output)(struct xfrm_state *x, struct sk_buff *skb);
727 struct sk_buff *skb);
728 void xfrm_audit_state_replay(struct xfrm_state *x, struct sk_buff *skb,
730 void xfrm_audit_state_notfound_simple(struct sk_buff *skb, u16 family);
731 void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, __be32 net_spi,
733 void xfrm_audit_state_icvfail(struct xfrm_state *x, struct sk_buff *skb,
758 struct sk_buff *skb) in xfrm_audit_state_replay_overflow()
763 struct sk_buff *skb, __be32 net_seq) in xfrm_audit_state_replay()
767 static inline void xfrm_audit_state_notfound_simple(struct sk_buff *skb, in xfrm_audit_state_notfound_simple()
772 static inline void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, in xfrm_audit_state_notfound()
778 struct sk_buff *skb, u8 proto) in xfrm_audit_state_icvfail()
987 static inline int secpath_exists(struct sk_buff *skb) in secpath_exists()
1016 secpath_reset(struct sk_buff *skb) in secpath_reset()
1063 int __xfrm_policy_check(struct sock *, int dir, struct sk_buff *skb,
1067 struct sk_buff *skb, in __xfrm_policy_check2()
1081 static inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short f… in xfrm_policy_check()
1086 static inline int xfrm4_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm4_policy_check()
1091 static inline int xfrm6_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm6_policy_check()
1097 struct sk_buff *skb) in xfrm4_policy_check_reverse()
1103 struct sk_buff *skb) in xfrm6_policy_check_reverse()
1108 int __xfrm_decode_session(struct sk_buff *skb, struct flowi *fl,
1111 static inline int xfrm_decode_session(struct sk_buff *skb, struct flowi *fl, in xfrm_decode_session()
1117 static inline int xfrm_decode_session_reverse(struct sk_buff *skb, in xfrm_decode_session_reverse()
1124 int __xfrm_route_forward(struct sk_buff *skb, unsigned short family);
1126 static inline int xfrm_route_forward(struct sk_buff *skb, unsigned short family) in xfrm_route_forward()
1135 static inline int xfrm4_route_forward(struct sk_buff *skb) in xfrm4_route_forward()
1140 static inline int xfrm6_route_forward(struct sk_buff *skb) in xfrm6_route_forward()
1180 static inline int xfrm6_route_forward(struct sk_buff *skb) { return 1; } in xfrm6_route_forward()
1181 static inline int xfrm4_route_forward(struct sk_buff *skb) { return 1; } in xfrm4_route_forward()
1182 static inline int xfrm6_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm6_policy_check()
1186 static inline int xfrm4_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm4_policy_check()
1190 static inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short f… in xfrm_policy_check()
1194 static inline int xfrm_decode_session_reverse(struct sk_buff *skb, in xfrm_decode_session_reverse()
1201 struct sk_buff *skb) in xfrm4_policy_check_reverse()
1206 struct sk_buff *skb) in xfrm6_policy_check_reverse()
1361 int (*handler)(struct sk_buff *skb);
1362 int (*input_handler)(struct sk_buff *skb, int nexthdr, __be32 spi,
1364 int (*cb_handler)(struct sk_buff *skb, int err);
1365 int (*err_handler)(struct sk_buff *skb, u32 info);
1372 int (*handler)(struct sk_buff *skb);
1373 int (*cb_handler)(struct sk_buff *skb, int err);
1374 int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
1383 int (*handler)(struct sk_buff *skb);
1384 int (*err_handler)(struct sk_buff *skb, u32 info);
1391 int (*handler)(struct sk_buff *skb);
1392 int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
1513 int xfrm_prepare_input(struct xfrm_state *x, struct sk_buff *skb);
1514 int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type);
1515 int xfrm_input_resume(struct sk_buff *skb, int nexthdr);
1516 int xfrm_output_resume(struct sk_buff *skb, int err);
1517 int xfrm_output(struct sock *sk, struct sk_buff *skb);
1518 int xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb);
1519 void xfrm_local_error(struct sk_buff *skb, int mtu);
1520 int xfrm4_extract_header(struct sk_buff *skb);
1521 int xfrm4_extract_input(struct xfrm_state *x, struct sk_buff *skb);
1522 int xfrm4_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi,
1524 int xfrm4_transport_finish(struct sk_buff *skb, int async);
1525 int xfrm4_rcv(struct sk_buff *skb);
1527 static inline int xfrm4_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi) in xfrm4_rcv_spi()
1535 int xfrm4_extract_output(struct xfrm_state *x, struct sk_buff *skb);
1536 int xfrm4_prepare_output(struct xfrm_state *x, struct sk_buff *skb);
1537 int xfrm4_output(struct net *net, struct sock *sk, struct sk_buff *skb);
1538 int xfrm4_output_finish(struct sock *sk, struct sk_buff *skb);
1539 int xfrm4_rcv_cb(struct sk_buff *skb, u8 protocol, int err);
1544 void xfrm4_local_error(struct sk_buff *skb, u32 mtu);
1545 int xfrm6_extract_header(struct sk_buff *skb);
1546 int xfrm6_extract_input(struct xfrm_state *x, struct sk_buff *skb);
1547 int xfrm6_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi);
1548 int xfrm6_transport_finish(struct sk_buff *skb, int async);
1549 int xfrm6_rcv(struct sk_buff *skb);
1550 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
1552 void xfrm6_local_error(struct sk_buff *skb, u32 mtu);
1553 int xfrm6_rcv_cb(struct sk_buff *skb, u8 protocol, int err);
1560 int xfrm6_extract_output(struct xfrm_state *x, struct sk_buff *skb);
1561 int xfrm6_prepare_output(struct xfrm_state *x, struct sk_buff *skb);
1562 int xfrm6_output(struct net *net, struct sock *sk, struct sk_buff *skb);
1563 int xfrm6_output_finish(struct sock *sk, struct sk_buff *skb);
1564 int xfrm6_find_1stfragopt(struct xfrm_state *x, struct sk_buff *skb,
1568 int xfrm4_udp_encap_rcv(struct sock *sk, struct sk_buff *skb);
1577 static inline int xfrm4_udp_encap_rcv(struct sock *sk, struct sk_buff *skb) in xfrm4_udp_encap_rcv()
1630 int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq);
1775 static inline struct xfrm_state *xfrm_input_state(struct sk_buff *skb) in xfrm_input_state()
1791 static inline int xfrm_mark_put(struct sk_buff *skb, const struct xfrm_mark *m) in xfrm_mark_put()
1800 static inline int xfrm_tunnel_check(struct sk_buff *skb, struct xfrm_state *x, in xfrm_tunnel_check()