Home
last modified time | relevance | path

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

/include/net/
Dcipso_ipv4.h128 #define CIPSO_V4_OPTEXIST(x) (IPCB(x)->opt.cipso != 0)
129 #define CIPSO_V4_OPTPTR(x) (skb_network_header(x) + IPCB(x)->opt.cipso)
289 unsigned char *opt = *option; in cipso_v4_validate() local
291 u8 opt_len = opt[1]; in cipso_v4_validate()
299 if (get_unaligned_be32(&opt[2]) == 0) { in cipso_v4_validate()
305 if (opt[opt_iter + 1] > (opt_len - opt_iter)) { in cipso_v4_validate()
309 opt_iter += opt[opt_iter + 1]; in cipso_v4_validate()
313 *option = opt + err_offset; in cipso_v4_validate()
Dipv6.h228 struct ipv6_txoptions *opt; member
247 struct ipv6_txoptions *opt; in txopt_get() local
250 opt = rcu_dereference(np->opt); in txopt_get()
251 if (opt && !atomic_inc_not_zero(&opt->refcnt)) in txopt_get()
252 opt = NULL; in txopt_get()
254 return opt; in txopt_get()
257 static inline void txopt_put(struct ipv6_txoptions *opt) in txopt_put() argument
259 if (opt && atomic_dec_and_test(&opt->refcnt)) in txopt_put()
260 kfree_rcu(opt, rcu); in txopt_put()
290 extern struct ipv6_txoptions * ipv6_dup_options(struct sock *sk, struct ipv6_txoptions *opt);
[all …]
Dinet_sock.h64 struct ip_options opt; member
68 struct ip_options_rcu opt; member
91 struct ip_options_rcu *opt; member
112 struct ip_options *opt; member
247 ireq->opt = NULL; in inet_reqsk_alloc()
Dgen_stats.h42 spinlock_t *stats_lock, struct nlattr *opt);
47 spinlock_t *stats_lock, struct nlattr *opt);
Dtransp_v6.h48 struct ipv6_txoptions *opt,
Dndisc.h63 __u8 opt[0]; member
68 __u8 opt[0]; member
Dip.h37 struct ip_options opt; /* Compiled IP options */ member
56 struct ip_options_rcu *opt; member
96 struct ip_options_rcu *opt);
444 extern void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
449 struct ip_options *opt, struct sk_buff *skb);
454 extern void ip_options_undo(struct ip_options * opt);
Dprotocol.h54 struct inet6_skb_parm *opt,
Dip6_route.h124 u8 *opt, int len,
Daddrconf.h158 u8 *opt, int len, bool sllao);
Dtcp.h444 struct ip_options *opt);
458 extern bool cookie_check_timestamp(struct tcp_options_received *opt, bool *);
Dxfrm.h574 struct xfrm_policy *(*compile_policy)(struct sock *sk, int opt, u8 *data, int len, int *dir);
1340 int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt,
/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))
213 extern void ceph_destroy_options(struct ceph_options *opt);
216 extern struct ceph_client *ceph_create_client(struct ceph_options *opt,
/include/linux/netfilter/ipset/
Dip_set_timeout.h25 #define opt_timeout(opt, map) \ argument
26 (with_timeout((opt)->timeout) ? (opt)->timeout : (map)->timeout)
Dip_set.h254 enum ipset_adt adt, const struct ip_set_adt_opt *opt);
352 const struct ip_set_adt_opt *opt);
355 const struct ip_set_adt_opt *opt);
358 const struct ip_set_adt_opt *opt);
Dip_set_ahash.h692 enum ipset_adt adt, const struct ip_set_adt_opt *opt);
/include/linux/
Dmroute.h138 static inline int ip_mroute_opt(int opt) in ip_mroute_opt() argument
140 return (opt >= MRT_BASE) && (opt <= MRT_BASE + 10); in ip_mroute_opt()
143 static inline int ip_mroute_opt(int opt) in ip_mroute_opt() argument
Dmroute6.h123 static inline int ip6_mroute_opt(int opt) in ip6_mroute_opt() argument
125 return (opt >= MRT6_BASE) && (opt <= MRT6_BASE + 10); in ip6_mroute_opt()
128 static inline int ip6_mroute_opt(int opt) in ip6_mroute_opt() argument
Dnetfilter.h262 int nf_setsockopt(struct sock *sk, u_int8_t pf, int optval, char __user *opt,
264 int nf_getsockopt(struct sock *sk, u_int8_t pf, int optval, char __user *opt,
268 char __user *opt, unsigned int len);
270 char __user *opt, int *len);
Dnetpoll.h45 int netpoll_parse_options(struct netpoll *np, char *opt);
Dipv6.h384 struct ipv6_txoptions __rcu *opt; member
388 struct ipv6_txoptions *opt; member
DmISDNif.h458 u_long opt; member
Dblkdev.h838 extern void blk_limits_io_opt(struct queue_limits *limits, unsigned int opt);
839 extern void blk_queue_io_opt(struct request_queue *q, unsigned int opt);
/include/linux/netfilter/
Dxt_osf.h79 struct xt_osf_opt opt[MAX_IPOPTLEN]; member
/include/net/sctp/
Dstructs.h1247 struct sctp_sock *opt);