Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 31) sorted by relevance

12

/include/linux/
A Dmroute.h14 static inline int ip_mroute_opt(int opt) in ip_mroute_opt() argument
16 return opt >= MRT_BASE && opt <= MRT_MAX; in ip_mroute_opt()
49 static inline int ip_mroute_opt(int opt) in ip_mroute_opt() argument
A Dmroute6.h15 static inline int ip6_mroute_opt(int opt) in ip6_mroute_opt() argument
17 return (opt >= MRT6_BASE) && (opt <= MRT6_MAX); in ip6_mroute_opt()
20 static inline int ip6_mroute_opt(int opt) in ip6_mroute_opt() argument
A Dfs_parser.h43 u8 opt; /* Option number (returned by fs_parse()) */ member
110 .opt = OPT, \
A Dipv6.h209 struct ipv6_txoptions *opt; member
272 struct ipv6_txoptions __rcu *opt; member
A Dnetfilter.h360 int nf_setsockopt(struct sock *sk, u_int8_t pf, int optval, sockptr_t opt,
362 int nf_getsockopt(struct sock *sk, u_int8_t pf, int optval, char __user *opt,
/include/net/
A Dseg6.h69 extern void seg6_icmp_srh(struct sk_buff *skb, struct inet6_skb_parm *opt);
81 struct inet6_skb_parm *opt) in seg6_get_daddr() argument
85 if (opt->flags & IP6SKB_SEG6) { in seg6_get_daddr()
86 srh = (struct ipv6_sr_hdr *)(skb->data + opt->srhoff); in seg6_get_daddr()
A Dcipso_ipv4.h272 unsigned char *opt = *option; in cipso_v4_validate() local
274 u8 opt_len = opt[1]; in cipso_v4_validate()
283 if (get_unaligned_be32(&opt[2]) == 0) { in cipso_v4_validate()
293 tag_len = opt[opt_iter + 1]; in cipso_v4_validate()
302 *option = opt + err_offset; in cipso_v4_validate()
A Dipv6.h334 struct ipv6_txoptions *opt; member
366 struct ipv6_txoptions *opt; member
383 struct ipv6_txoptions *opt; in txopt_get() local
386 opt = rcu_dereference(np->opt); in txopt_get()
387 if (opt) { in txopt_get()
389 opt = NULL; in txopt_get()
391 opt = rcu_pointer_handoff(opt); in txopt_get()
394 return opt; in txopt_get()
399 if (opt && refcount_dec_and_test(&opt->refcnt)) in txopt_put()
400 kfree_rcu(opt, rcu); in txopt_put()
[all …]
A Dicmp.h40 const struct ip_options *opt);
43 __icmp_send(skb_in, type, code, info, &IPCB(skb_in)->opt); in icmp_send()
A Dbond_options.h19 #define BOND_OPT_VALID(opt) ((opt) < BOND_OPT_LAST) argument
130 const struct bond_opt_value *bond_opt_parse(const struct bond_option *opt,
A Dgen_stats.h74 bool running, struct nlattr *opt);
80 bool running, struct nlattr *opt);
A Dip.h49 struct ip_options opt; /* Compiled IP options */ member
81 struct ip_options_rcu *opt; member
163 struct ip_options_rcu *opt, u8 tos);
257 (ipc->opt && ipc->opt->opt.is_strictroute)) in ip_sendmsg_scope()
769 void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
777 return __ip_options_echo(net, dopt, skb, &IPCB(skb)->opt); in ip_options_echo()
781 int __ip_options_compile(struct net *net, struct ip_options *opt,
783 int ip_options_compile(struct net *net, struct ip_options *opt,
787 void ip_options_undo(struct ip_options *opt);
A Dioam6.h70 void *opt, unsigned int opt_len);
A Dndisc.h75 __u8 opt[]; member
80 __u8 opt[]; member
93 __u8 opt[]; member
128 u8 *opt, int opt_len,
A Dprotocol.h58 struct inet6_skb_parm *opt,
A Dinet_sock.h61 struct ip_options opt; member
65 struct ip_options_rcu opt; member
169 struct ip_options *opt; member
A Dcfg802154.h164 enum nl802154_cca_opts opt; member
174 return a->opt == b->opt; in wpan_phy_cca_cmp()
A Dipv6_stubs.h77 __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority);
A Dip6_tunnel.h73 int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
A Droute.h145 if (ip4_opt && ip4_opt->opt.srr) in inet_sk_init_flowi4()
146 daddr = ip4_opt->opt.faddr; in inet_sk_init_flowi4()
A Dtcp.h646 struct tcp_options_received *opt);
2536 const struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in tcp_v4_save_options() local
2539 if (opt->optlen) { in tcp_v4_save_options()
2540 int opt_size = sizeof(*dopt) + opt->optlen; in tcp_v4_save_options()
2543 if (dopt && __ip_options_echo(net, &dopt->opt, skb, opt)) { in tcp_v4_save_options()
/include/linux/ceph/
A Dlibceph.h42 #define ceph_set_opt(client, opt) \ argument
43 (client)->options->flags |= CEPH_OPT_##opt;
44 #define ceph_test_opt(client, opt) \ argument
45 (!!((client)->options->flags & CEPH_OPT_##opt))
295 int ceph_parse_mon_ips(const char *buf, size_t len, struct ceph_options *opt,
297 int ceph_parse_param(struct fs_parameter *param, struct ceph_options *opt,
301 extern void ceph_destroy_options(struct ceph_options *opt);
304 struct ceph_client *ceph_create_client(struct ceph_options *opt, void *private);
/include/linux/netfilter/ipset/
A Dip_set.h157 enum ipset_adt adt, struct ip_set_adt_opt *opt);
322 struct ip_set_adt_opt *opt);
325 struct ip_set_adt_opt *opt);
328 struct ip_set_adt_opt *opt);
464 #define ip_set_adt_opt_timeout(opt, set) \ argument
465 ((opt)->ext.timeout != IPSET_NO_TIMEOUT ? (opt)->ext.timeout : (set)->timeout)
532 #define IP_SET_INIT_KEXT(skb, opt, set) \ argument
534 .timeout = ip_set_adt_opt_timeout(opt, set) }
/include/uapi/linux/netfilter/
A Dnfnetlink_osf.h66 struct nf_osf_opt opt[MAX_IPOPTLEN]; member
/include/net/nfc/
A Dnci_core.h284 const void *opt),
285 const void *opt, __u32 timeout);

Completed in 42 milliseconds

12