Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/
Dnfnetlink_osf.c65 const unsigned char *optp; member
102 if (f->opt[optnum].kind == *ctx->optp) { in nf_osf_match_one()
104 const __u8 *optend = ctx->optp + len; in nf_osf_match_one()
108 switch (*ctx->optp) { in nf_osf_match_one()
110 mss = ctx->optp[3]; in nf_osf_match_one()
112 mss |= ctx->optp[2]; in nf_osf_match_one()
120 ctx->optp = optend; in nf_osf_match_one()
188 ctx->optp = skb_header_pointer(skb, ip_hdrlen(skb) + in nf_osf_hdr_ctx_init()
/Linux-v4.19/net/ipv4/
Dip_options.c515 static int ip_options_get_finish(struct net *net, struct ip_options_rcu **optp, in ip_options_get_finish() argument
525 kfree(*optp); in ip_options_get_finish()
526 *optp = opt; in ip_options_get_finish()
530 int ip_options_get_from_user(struct net *net, struct ip_options_rcu **optp, in ip_options_get_from_user() argument
541 return ip_options_get_finish(net, optp, opt, optlen); in ip_options_get_from_user()
544 int ip_options_get(struct net *net, struct ip_options_rcu **optp, in ip_options_get() argument
553 return ip_options_get_finish(net, optp, opt, optlen); in ip_options_get()
/Linux-v4.19/drivers/video/fbdev/
Dacornfb.c887 struct options *optp; in acornfb_setup() local
899 for (optp = opt_table; optp->name; optp++) { in acornfb_setup()
902 optlen = strlen(optp->name); in acornfb_setup()
904 if (strncmp(opt, optp->name, optlen) == 0 && in acornfb_setup()
906 optp->parse(opt + optlen + 1); in acornfb_setup()
911 if (!optp->name) in acornfb_setup()
/Linux-v4.19/include/net/
Dip.h643 int ip_options_get(struct net *net, struct ip_options_rcu **optp,
645 int ip_options_get_from_user(struct net *net, struct ip_options_rcu **optp,