Home
last modified time | relevance | path

Searched refs:optp (Results 1 – 2 of 2) sorted by relevance

/net/netfilter/
Dnfnetlink_osf.c60 const unsigned char *optp; member
69 const __u8 *optpinit = ctx->optp; in nf_osf_match_one()
98 if (f->opt[optnum].kind == *ctx->optp) { in nf_osf_match_one()
100 const __u8 *optend = ctx->optp + len; in nf_osf_match_one()
104 switch (*ctx->optp) { in nf_osf_match_one()
106 mss = ctx->optp[3]; in nf_osf_match_one()
108 mss |= ctx->optp[2]; in nf_osf_match_one()
116 ctx->optp = optend; in nf_osf_match_one()
160 ctx->optp = optpinit; in nf_osf_match_one()
187 ctx->optp = skb_header_pointer(skb, ip_hdrlen(skb) + in nf_osf_hdr_ctx_init()
[all …]
/net/ipv4/
Dip_options.c528 static int ip_options_get_finish(struct net *net, struct ip_options_rcu **optp, in ip_options_get_finish() argument
538 kfree(*optp); in ip_options_get_finish()
539 *optp = opt; in ip_options_get_finish()
543 int ip_options_get_from_user(struct net *net, struct ip_options_rcu **optp, in ip_options_get_from_user() argument
554 return ip_options_get_finish(net, optp, opt, optlen); in ip_options_get_from_user()
557 int ip_options_get(struct net *net, struct ip_options_rcu **optp, in ip_options_get() argument
566 return ip_options_get_finish(net, optp, opt, optlen); in ip_options_get()