93
93
extern int ip_build_and_send_pkt(struct sk_buff *skb, struct sock *sk,
94
94
__be32 saddr, __be32 daddr,
95
struct ip_options *opt);
95
struct ip_options_rcu *opt);
96
96
extern int ip_rcv(struct sk_buff *skb, struct net_device *dev,
97
97
struct packet_type *pt, struct net_device *orig_dev);
98
98
extern int ip_local_deliver(struct sk_buff *skb);
362
362
* Functions provided by ip_options.c
365
extern void ip_options_build(struct sk_buff *skb, struct ip_options *opt, __be32 daddr, struct rtable *rt, int is_frag);
365
extern void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
366
__be32 daddr, struct rtable *rt, int is_frag);
366
367
extern int ip_options_echo(struct ip_options *dopt, struct sk_buff *skb);
367
368
extern void ip_options_fragment(struct sk_buff *skb);
368
369
extern int ip_options_compile(struct net *net,
369
370
struct ip_options *opt, struct sk_buff *skb);
370
extern int ip_options_get(struct net *net, struct ip_options **optp,
371
extern int ip_options_get(struct net *net, struct ip_options_rcu **optp,
371
372
unsigned char *data, int optlen);
372
extern int ip_options_get_from_user(struct net *net, struct ip_options **optp,
373
extern int ip_options_get_from_user(struct net *net, struct ip_options_rcu **optp,
373
374
unsigned char __user *data, int optlen);
374
375
extern void ip_options_undo(struct ip_options * opt);
375
376
extern void ip_forward_options(struct sk_buff *skb);