Lines Matching refs:sk_buff

271 			 struct sk_buff *skb,
274 struct sk_buff *skb,
277 int (*overflow)(struct xfrm_state *x, struct sk_buff *skb);
291 void (*decode_session)(struct sk_buff *skb,
334 int (*output)(struct sock *sk, struct sk_buff *skb);
335 int (*output_finish)(struct sock *sk, struct sk_buff *skb);
337 struct sk_buff *skb);
339 struct sk_buff *skb);
340 int (*transport_finish)(struct sk_buff *skb,
342 void (*local_error)(struct sk_buff *skb, u32 mtu);
353 int (*callback)(struct sk_buff *skb, u8 protocol,
374 int (*input)(struct xfrm_state *, struct sk_buff *skb);
375 int (*output)(struct xfrm_state *, struct sk_buff *pskb);
376 int (*reject)(struct xfrm_state *, struct sk_buff *,
378 int (*hdr_offset)(struct xfrm_state *, struct sk_buff *, u8 **);
398 int (*input2)(struct xfrm_state *x, struct sk_buff *skb);
408 int (*input)(struct xfrm_state *x, struct sk_buff *skb);
421 int (*output2)(struct xfrm_state *x,struct sk_buff *skb);
432 int (*output)(struct xfrm_state *x, struct sk_buff *skb);
724 struct sk_buff *skb);
725 void xfrm_audit_state_replay(struct xfrm_state *x, struct sk_buff *skb,
727 void xfrm_audit_state_notfound_simple(struct sk_buff *skb, u16 family);
728 void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, __be32 net_spi,
730 void xfrm_audit_state_icvfail(struct xfrm_state *x, struct sk_buff *skb,
755 struct sk_buff *skb) in xfrm_audit_state_replay_overflow()
760 struct sk_buff *skb, __be32 net_seq) in xfrm_audit_state_replay()
764 static inline void xfrm_audit_state_notfound_simple(struct sk_buff *skb, in xfrm_audit_state_notfound_simple()
769 static inline void xfrm_audit_state_notfound(struct sk_buff *skb, u16 family, in xfrm_audit_state_notfound()
775 struct sk_buff *skb, u8 proto) in xfrm_audit_state_icvfail()
984 static inline int secpath_exists(struct sk_buff *skb) in secpath_exists()
1013 secpath_reset(struct sk_buff *skb) in secpath_reset()
1060 int __xfrm_policy_check(struct sock *, int dir, struct sk_buff *skb,
1064 struct sk_buff *skb, in __xfrm_policy_check2()
1078 static inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short f… in xfrm_policy_check()
1083 static inline int xfrm4_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm4_policy_check()
1088 static inline int xfrm6_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm6_policy_check()
1094 struct sk_buff *skb) in xfrm4_policy_check_reverse()
1100 struct sk_buff *skb) in xfrm6_policy_check_reverse()
1105 int __xfrm_decode_session(struct sk_buff *skb, struct flowi *fl,
1108 static inline int xfrm_decode_session(struct sk_buff *skb, struct flowi *fl, in xfrm_decode_session()
1114 static inline int xfrm_decode_session_reverse(struct sk_buff *skb, in xfrm_decode_session_reverse()
1121 int __xfrm_route_forward(struct sk_buff *skb, unsigned short family);
1123 static inline int xfrm_route_forward(struct sk_buff *skb, unsigned short family) in xfrm_route_forward()
1132 static inline int xfrm4_route_forward(struct sk_buff *skb) in xfrm4_route_forward()
1137 static inline int xfrm6_route_forward(struct sk_buff *skb) in xfrm6_route_forward()
1171 static inline int xfrm6_route_forward(struct sk_buff *skb) { return 1; } in xfrm6_route_forward()
1172 static inline int xfrm4_route_forward(struct sk_buff *skb) { return 1; } in xfrm4_route_forward()
1173 static inline int xfrm6_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm6_policy_check()
1177 static inline int xfrm4_policy_check(struct sock *sk, int dir, struct sk_buff *skb) in xfrm4_policy_check()
1181 static inline int xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, unsigned short f… in xfrm_policy_check()
1185 static inline int xfrm_decode_session_reverse(struct sk_buff *skb, in xfrm_decode_session_reverse()
1192 struct sk_buff *skb) in xfrm4_policy_check_reverse()
1197 struct sk_buff *skb) in xfrm6_policy_check_reverse()
1350 int (*handler)(struct sk_buff *skb);
1351 int (*input_handler)(struct sk_buff *skb, int nexthdr, __be32 spi,
1353 int (*cb_handler)(struct sk_buff *skb, int err);
1354 int (*err_handler)(struct sk_buff *skb, u32 info);
1361 int (*handler)(struct sk_buff *skb);
1362 int (*cb_handler)(struct sk_buff *skb, int err);
1363 int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
1372 int (*handler)(struct sk_buff *skb);
1373 int (*err_handler)(struct sk_buff *skb, u32 info);
1380 int (*handler)(struct sk_buff *skb);
1381 int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
1502 int xfrm_prepare_input(struct xfrm_state *x, struct sk_buff *skb);
1503 int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type);
1504 int xfrm_input_resume(struct sk_buff *skb, int nexthdr);
1505 int xfrm_output_resume(struct sk_buff *skb, int err);
1506 int xfrm_output(struct sock *sk, struct sk_buff *skb);
1507 int xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb);
1508 void xfrm_local_error(struct sk_buff *skb, int mtu);
1509 int xfrm4_extract_header(struct sk_buff *skb);
1510 int xfrm4_extract_input(struct xfrm_state *x, struct sk_buff *skb);
1511 int xfrm4_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi,
1513 int xfrm4_transport_finish(struct sk_buff *skb, int async);
1514 int xfrm4_rcv(struct sk_buff *skb);
1516 static inline int xfrm4_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi) in xfrm4_rcv_spi()
1524 int xfrm4_extract_output(struct xfrm_state *x, struct sk_buff *skb);
1525 int xfrm4_prepare_output(struct xfrm_state *x, struct sk_buff *skb);
1526 int xfrm4_output(struct sock *sk, struct sk_buff *skb);
1527 int xfrm4_output_finish(struct sock *sk, struct sk_buff *skb);
1528 int xfrm4_rcv_cb(struct sk_buff *skb, u8 protocol, int err);
1533 void xfrm4_local_error(struct sk_buff *skb, u32 mtu);
1534 int xfrm6_extract_header(struct sk_buff *skb);
1535 int xfrm6_extract_input(struct xfrm_state *x, struct sk_buff *skb);
1536 int xfrm6_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi);
1537 int xfrm6_transport_finish(struct sk_buff *skb, int async);
1538 int xfrm6_rcv(struct sk_buff *skb);
1539 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
1541 void xfrm6_local_error(struct sk_buff *skb, u32 mtu);
1542 int xfrm6_rcv_cb(struct sk_buff *skb, u8 protocol, int err);
1549 int xfrm6_extract_output(struct xfrm_state *x, struct sk_buff *skb);
1550 int xfrm6_prepare_output(struct xfrm_state *x, struct sk_buff *skb);
1551 int xfrm6_output(struct sock *sk, struct sk_buff *skb);
1552 int xfrm6_output_finish(struct sock *sk, struct sk_buff *skb);
1553 int xfrm6_find_1stfragopt(struct xfrm_state *x, struct sk_buff *skb,
1557 int xfrm4_udp_encap_rcv(struct sock *sk, struct sk_buff *skb);
1566 static inline int xfrm4_udp_encap_rcv(struct sock *sk, struct sk_buff *skb) in xfrm4_udp_encap_rcv()
1619 int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq);
1764 static inline struct xfrm_state *xfrm_input_state(struct sk_buff *skb) in xfrm_input_state()
1780 static inline int xfrm_mark_put(struct sk_buff *skb, const struct xfrm_mark *m) in xfrm_mark_put()
1789 static inline int xfrm_tunnel_check(struct sk_buff *skb, struct xfrm_state *x, in xfrm_tunnel_check()