Home
last modified time | relevance | path

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

12

/include/linux/
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()
48 static inline int ip_mroute_opt(int opt) in ip_mroute_opt() argument
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
Dfs_parser.h42 u8 opt; /* Option number (returned by fs_parse()) */ member
109 .opt = OPT, \
Dnetpoll.h60 int netpoll_parse_options(struct netpoll *np, char *opt);
Dipv6.h215 struct ipv6_txoptions *opt; member
313 struct ipv6_txoptions __rcu *opt; member
Dnetfilter.h347 int nf_setsockopt(struct sock *sk, u_int8_t pf, int optval, sockptr_t opt,
349 int nf_getsockopt(struct sock *sk, u_int8_t pf, int optval, char __user *opt,
DmISDNif.h470 u_long opt; member
/include/net/
Dseg6.h62 extern void seg6_icmp_srh(struct sk_buff *skb, struct inet6_skb_parm *opt);
74 struct inet6_skb_parm *opt) in seg6_get_daddr() argument
78 if (opt->flags & IP6SKB_SEG6) { in seg6_get_daddr()
79 srh = (struct ipv6_sr_hdr *)(skb->data + opt->srhoff); in seg6_get_daddr()
Dcipso_ipv4.h270 unsigned char *opt = *option; in cipso_v4_validate() local
272 u8 opt_len = opt[1]; in cipso_v4_validate()
281 if (get_unaligned_be32(&opt[2]) == 0) { in cipso_v4_validate()
291 tag_len = opt[opt_iter + 1]; in cipso_v4_validate()
300 *option = opt + err_offset; in cipso_v4_validate()
Dbond_options.h11 #define BOND_OPT_VALID(opt) ((opt) < BOND_OPT_LAST) argument
110 const struct bond_opt_value *bond_opt_parse(const struct bond_option *opt,
Dicmp.h40 const struct ip_options *opt);
43 __icmp_send(skb_in, type, code, info, &IPCB(skb_in)->opt); in icmp_send()
Dipv6.h318 struct ipv6_txoptions *opt; member
349 struct ipv6_txoptions *opt; member
374 struct ipv6_txoptions *opt; in txopt_get() local
377 opt = rcu_dereference(np->opt); in txopt_get()
378 if (opt) { in txopt_get()
379 if (!refcount_inc_not_zero(&opt->refcnt)) in txopt_get()
380 opt = NULL; in txopt_get()
382 opt = rcu_pointer_handoff(opt); in txopt_get()
385 return opt; in txopt_get()
388 static inline void txopt_put(struct ipv6_txoptions *opt) in txopt_put() argument
[all …]
Dgen_stats.h73 seqcount_t *running, struct nlattr *opt);
79 seqcount_t *running, struct nlattr *opt);
Dprotocol.h57 struct inet6_skb_parm *opt,
Dinet_sock.h60 struct ip_options opt; member
64 struct ip_options_rcu opt; member
166 struct ip_options *opt; member
Dndisc.h84 __u8 opt[]; member
89 __u8 opt[]; member
102 __u8 opt[]; member
137 u8 *opt, int opt_len,
Dip.h47 struct ip_options opt; /* Compiled IP options */ member
78 struct ip_options_rcu *opt; member
159 struct ip_options_rcu *opt, u8 tos);
733 void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
741 return __ip_options_echo(net, dopt, skb, &IPCB(skb)->opt); in ip_options_echo()
745 int __ip_options_compile(struct net *net, struct ip_options *opt,
747 int ip_options_compile(struct net *net, struct ip_options *opt,
751 void ip_options_undo(struct ip_options *opt);
Dcfg802154.h147 enum nl802154_cca_opts opt; member
157 return a->opt == b->opt; in wpan_phy_cca_cmp()
Dip6_tunnel.h72 int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
Dtcp.h563 struct tcp_options_received *opt);
564 bool cookie_ecn_ok(const struct tcp_options_received *opt,
2136 const struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in tcp_v4_save_options() local
2139 if (opt->optlen) { in tcp_v4_save_options()
2140 int opt_size = sizeof(*dopt) + opt->optlen; in tcp_v4_save_options()
2143 if (dopt && __ip_options_echo(net, &dopt->opt, skb, opt)) { in tcp_v4_save_options()
Dip6_route.h182 int rt6_route_rcv(struct net_device *dev, u8 *opt, int len,
/include/linux/ceph/
Dlibceph.h41 #define ceph_set_opt(client, opt) \ argument
42 (client)->options->flags |= CEPH_OPT_##opt;
43 #define ceph_test_opt(client, opt) \ argument
44 (!!((client)->options->flags & CEPH_OPT_##opt))
303 int ceph_parse_mon_ips(const char *buf, size_t len, struct ceph_options *opt,
305 int ceph_parse_param(struct fs_parameter *param, struct ceph_options *opt,
309 extern void ceph_destroy_options(struct ceph_options *opt);
312 struct ceph_client *ceph_create_client(struct ceph_options *opt, void *private);
/include/linux/netfilter/ipset/
Dip_set.h158 enum ipset_adt adt, struct ip_set_adt_opt *opt);
329 struct ip_set_adt_opt *opt);
332 struct ip_set_adt_opt *opt);
335 struct ip_set_adt_opt *opt);
471 #define ip_set_adt_opt_timeout(opt, set) \ argument
472 ((opt)->ext.timeout != IPSET_NO_TIMEOUT ? (opt)->ext.timeout : (set)->timeout)
529 #define IP_SET_INIT_KEXT(skb, opt, set) \ argument
531 .timeout = ip_set_adt_opt_timeout(opt, set) }
/include/uapi/linux/netfilter/
Dnfnetlink_osf.h66 struct nf_osf_opt opt[MAX_IPOPTLEN]; member
/include/net/nfc/
Dnci_core.h280 const void *opt),
281 const void *opt, __u32 timeout);

12