Home
last modified time | relevance | path

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

1234567

/net/ipv6/
Dexthdrs.c233 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_dest_hao() local
292 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_destopt_rcv() local
365 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_srh_rcv() local
486 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_rpl_srh_rcv() local
673 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_rthdr_rcv() local
1057 struct inet6_skb_parm *opt = IP6CB(skb); in ipv6_parse_hopopts() local
1100 struct ipv6_rt_hdr *opt, in ipv6_push_rthdr0()
1125 struct ipv6_rt_hdr *opt, in ipv6_push_rthdr4()
1174 struct ipv6_rt_hdr *opt, in ipv6_push_rthdr()
1191 static void ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt) in ipv6_push_exthdr()
[all …]
Dtunnel6.c203 static int tunnel6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in tunnel6_err()
215 static int tunnel46_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in tunnel46_err()
227 static int tunnelmpls6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in tunnelmpls6_err()
Dipv6_sockglue.c101 struct ipv6_txoptions *opt) in ipv6_update_options()
324 struct ipv6_txoptions *opt; in ipv6_set_opt_hdr() local
687 struct ipv6_txoptions *opt = NULL; in do_ipv6_setsockopt() local
1017 static int ipv6_getsockopt_sticky(struct sock *sk, struct ipv6_txoptions *opt, in ipv6_getsockopt_sticky()
1250 struct ipv6_txoptions *opt; in do_ipv6_getsockopt() local
Dxfrm6_protocol.c126 static int xfrm6_esp_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in xfrm6_esp_err()
155 static int xfrm6_ah_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in xfrm6_ah_err()
184 static int xfrm6_ipcomp_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in xfrm6_ipcomp_err()
Dndisc.c149 u8 *opt = skb_put(skb, space); in __ndisc_fill_addr_option() local
197 struct nd_opt_hdr *opt) in ndisc_is_useropt()
220 u8 *opt, int opt_len, in ndisc_parse_options()
644 u8 *opt = skb_put(skb, 8); in ndisc_send_ns() local
1125 static void ndisc_ra_useropt(struct sk_buff *ra, struct nd_opt_hdr *opt) in ndisc_ra_useropt()
1186 __u8 *opt = (__u8 *)(ra_msg + 1); in ndisc_router_discovery() local
1590 u8 *opt = skb_put(skb, rd_len); in ndisc_fill_redirect_hdr_option() local
/net/ipv4/
Dip_options.c44 void ip_options_build(struct sk_buff *skb, struct ip_options *opt, in ip_options_build()
211 struct ip_options *opt = &(IPCB(skb)->opt); in ip_options_fragment() local
255 struct ip_options *opt, struct sk_buff *skb, in __ip_options_compile()
479 struct ip_options *opt, struct sk_buff *skb) in ip_options_compile()
495 void ip_options_undo(struct ip_options *opt) in ip_options_undo()
528 struct ip_options_rcu *opt; in ip_options_get() local
553 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward_options() local
600 struct ip_options *opt = &(IPCB(skb)->opt); in ip_options_rcv_srr() local
Dip_forward.c67 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward_finish() local
91 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward() local
Dcipso_ipv4.c1551 unsigned char *opt = *option; in cipso_v4_validate() local
1722 struct ip_options *opt = (struct ip_options *)optbuf; in cipso_v4_error() local
1838 struct ip_options_rcu *old, *opt = NULL; in cipso_v4_sock_setattr() local
1923 struct ip_options_rcu *opt = NULL; in cipso_v4_req_setattr() local
1982 struct ip_options_rcu *opt = rcu_dereference_protected(*opt_ptr, 1); in cipso_v4_delopt() local
2138 struct ip_options_rcu *opt; in cipso_v4_sock_getattr() local
2169 struct ip_options *opt = &IPCB(skb)->opt; in cipso_v4_skbuff_setattr() local
2245 struct ip_options *opt = &IPCB(skb)->opt; in cipso_v4_skbuff_delattr() local
/net/nfc/nci/
Dcore.c98 void (*req)(struct nci_dev *ndev, const void *opt), in __nci_request()
142 const void *opt), in nci_request()
161 static void nci_reset_req(struct nci_dev *ndev, const void *opt) in nci_reset_req()
169 static void nci_init_req(struct nci_dev *ndev, const void *opt) in nci_init_req()
179 static void nci_init_complete_req(struct nci_dev *ndev, const void *opt) in nci_init_complete_req()
221 static void nci_set_config_req(struct nci_dev *ndev, const void *opt) in nci_set_config_req()
241 static void nci_rf_discover_req(struct nci_dev *ndev, const void *opt) in nci_rf_discover_req()
306 static void nci_rf_discover_select_req(struct nci_dev *ndev, const void *opt) in nci_rf_discover_select_req()
332 static void nci_rf_deactivate_req(struct nci_dev *ndev, const void *opt) in nci_rf_deactivate_req()
348 static void nci_generic_req(struct nci_dev *ndev, const void *opt) in nci_generic_req()
[all …]
/net/sched/
Dsch_fifo.c96 static int __fifo_init(struct Qdisc *sch, struct nlattr *opt, in __fifo_init()
131 static int fifo_init(struct Qdisc *sch, struct nlattr *opt, in fifo_init()
144 static int fifo_hd_init(struct Qdisc *sch, struct nlattr *opt, in fifo_hd_init()
157 struct tc_fifo_qopt opt = { .limit = sch->limit }; in __fifo_dump() local
Dsch_plug.c122 static int plug_init(struct Qdisc *sch, struct nlattr *opt, in plug_init()
158 static int plug_change(struct Qdisc *sch, struct nlattr *opt, in plug_change()
Dsch_skbprio.c167 static int skbprio_change(struct Qdisc *sch, struct nlattr *opt, in skbprio_change()
179 static int skbprio_init(struct Qdisc *sch, struct nlattr *opt, in skbprio_init()
201 struct tc_skbprio_qopt opt; in skbprio_dump() local
Dsch_prio.c143 struct tc_prio_qopt_offload opt = { in prio_offload() local
176 static int prio_tune(struct Qdisc *sch, struct nlattr *opt, in prio_tune()
229 static int prio_init(struct Qdisc *sch, struct nlattr *opt, in prio_init()
266 struct tc_prio_qopt opt; in prio_dump() local
Dsch_mq.c27 struct tc_mq_qopt_offload opt = { in mq_offload() local
40 struct tc_mq_qopt_offload opt = { in mq_offload_stats() local
67 static int mq_init(struct Qdisc *sch, struct nlattr *opt, in mq_init()
Dsch_mqprio.c134 struct nlattr *opt, in mqprio_parse_nlattr()
224 static int mqprio_init(struct Qdisc *sch, struct nlattr *opt, in mqprio_init()
408 struct tc_mqprio_qopt *opt, struct sk_buff *skb) in dump_rates()
452 struct tc_mqprio_qopt opt = { 0 }; in mqprio_dump() local
Dsch_red.c188 struct tc_red_qopt_offload opt = { in red_offload() local
332 static int red_init(struct Qdisc *sch, struct nlattr *opt, in red_init()
366 static int red_change(struct Qdisc *sch, struct nlattr *opt, in red_change()
413 struct tc_red_qopt opt = { in red_dump() local
/net/ceph/
Dceph_common.c334 struct ceph_options *opt; in ceph_alloc_options() local
360 void ceph_destroy_options(struct ceph_options *opt) in ceph_destroy_options()
424 int ceph_parse_mon_ips(const char *buf, size_t len, struct ceph_options *opt, in ceph_parse_mon_ips()
442 int ceph_parse_param(struct fs_parameter *param, struct ceph_options *opt, in ceph_parse_param()
629 struct ceph_options *opt = client->options; in ceph_print_client_options() local
727 struct ceph_client *ceph_create_client(struct ceph_options *opt, void *private) in ceph_create_client()
/net/bluetooth/
Dhci_request.c194 unsigned long opt), in __hci_req_sync()
270 unsigned long opt), in hci_req_sync()
2008 unsigned long opt) in hci_req_add_le_interleaved_scan()
2672 static int update_scan(struct hci_request *req, unsigned long opt) in update_scan()
2687 static int connectable_update(struct hci_request *req, unsigned long opt) in connectable_update()
2797 static int discoverable_update(struct hci_request *req, unsigned long opt) in discoverable_update()
2934 static int update_bg_scan(struct hci_request *req, unsigned long opt) in update_bg_scan()
2963 static int le_scan_disable(struct hci_request *req, unsigned long opt) in le_scan_disable()
2969 static int bredr_inquiry(struct hci_request *req, unsigned long opt) in bredr_inquiry()
3058 static int le_scan_restart(struct hci_request *req, unsigned long opt) in le_scan_restart()
[all …]
/net/bridge/
Dbr.c256 int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on, in br_boolopt_toggle()
277 int br_boolopt_get(const struct net_bridge *br, enum br_boolopt_id opt) in br_boolopt_get()
329 void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on) in br_opt_toggle()
/net/netfilter/
Dxt_TCPOPTSTRIP.c19 static inline unsigned int optlen(const u_int8_t *opt, unsigned int offset) in optlen()
37 u_int8_t *opt; in tcpoptstrip_mangle_packet() local
Dnf_sockopt.c92 int nf_setsockopt(struct sock *sk, u_int8_t pf, int val, sockptr_t opt, in nf_setsockopt()
107 int nf_getsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, in nf_getsockopt()
Dnft_exthdr.c29 static unsigned int optlen(const u8 *opt, unsigned int offset) in optlen()
86 struct ip_options *opt = (struct ip_options *)optbuf; in ipv4_find_option() local
199 u8 *opt; in nft_exthdr_tcp_eval() local
242 u8 *opt; in nft_exthdr_tcp_set_eval() local
322 u8 *opt; in nft_exthdr_tcp_strip_eval() local
/net/sctp/
Dipv6.c163 static int sctp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in sctp_v6_err()
493 struct ipv6_txoptions *opt; in sctp_v6_copy_ip_options() local
512 struct ipv6_txoptions *opt; in sctp_v6_ip_options_len() local
943 struct sctp_sock *opt) in sctp_inet6_cmp_addr()
971 static int sctp_inet6_bind_verify(struct sctp_sock *opt, union sctp_addr *addr) in sctp_inet6_bind_verify()
1006 static int sctp_inet6_send_verify(struct sctp_sock *opt, union sctp_addr *addr) in sctp_inet6_send_verify()
1039 static int sctp_inet6_supported_addrs(const struct sctp_sock *opt, in sctp_inet6_supported_addrs()
/net/dccp/
Dfeat.c243 static const char *dccp_feat_oname(const u8 opt) in dccp_feat_oname()
288 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) do { \ argument
301 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) argument
638 u8 opt, type, len, *ptr, nn_in_nbo[DCCP_OPTVAL_MAXLEN]; in dccp_feat_insert_opts() local
1107 static u8 dccp_feat_change_recv(struct list_head *fn, u8 is_mandatory, u8 opt, in dccp_feat_change_recv()
1218 static u8 dccp_feat_confirm_recv(struct list_head *fn, u8 is_mandatory, u8 opt, in dccp_feat_confirm_recv()
1315 static u8 dccp_feat_handle_nn_established(struct sock *sk, u8 mandatory, u8 opt, in dccp_feat_handle_nn_established()
1405 u8 mandatory, u8 opt, u8 feat, u8 *val, u8 len) in dccp_feat_parse_options()
Dipv6.c74 static int dccp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in dccp_v6_err()
230 struct ipv6_txoptions *opt; in dccp_v6_send_response() local
421 struct ipv6_txoptions *opt; in dccp_v6_request_recv_sock() local
824 struct ipv6_txoptions *opt; in dccp_v6_connect() local

1234567