Home
last modified time | relevance | path

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

12345678910>>...17

/net/ipv4/
Dsysctl_net_ipv4.c46 .data = &range, in ipv4_local_port_range()
75 .data = &range, in ipv4_sysctl_local_port_range()
99 .data = val, in proc_tcp_congestion_control()
119 .data = val, in sysctl_tcp_congestion_control()
139 tbl.data = kmalloc(tbl.maxlen, GFP_USER); in proc_tcp_available_congestion_control()
140 if (!tbl.data) in proc_tcp_available_congestion_control()
142 tcp_get_available_congestion_control(tbl.data, TCP_CA_BUF_MAX); in proc_tcp_available_congestion_control()
144 kfree(tbl.data); in proc_tcp_available_congestion_control()
156 tbl.data = kmalloc(tbl.maxlen, GFP_USER); in proc_allowed_congestion_control()
157 if (!tbl.data) in proc_allowed_congestion_control()
[all …]
/net/lapb/
Dlapb_subr.c117 skb->data[0], skb->data[1], skb->data[2]); in lapb_decode()
128 if (skb->data[0] == LAPB_ADDR_D) in lapb_decode()
130 if (skb->data[0] == LAPB_ADDR_C) in lapb_decode()
133 if (skb->data[0] == LAPB_ADDR_C) in lapb_decode()
135 if (skb->data[0] == LAPB_ADDR_D) in lapb_decode()
140 if (skb->data[0] == LAPB_ADDR_B) in lapb_decode()
142 if (skb->data[0] == LAPB_ADDR_A) in lapb_decode()
145 if (skb->data[0] == LAPB_ADDR_A) in lapb_decode()
147 if (skb->data[0] == LAPB_ADDR_B) in lapb_decode()
155 if (!(skb->data[0] & LAPB_S)) { in lapb_decode()
[all …]
/net/irda/
Ddiscovery.c83 if ((node->data.saddr == new->data.saddr) && in irlmp_add_discovery()
84 ((node->data.daddr == new->data.daddr) || in irlmp_add_discovery()
85 (strcmp(node->data.info, new->data.info) == 0))) in irlmp_add_discovery()
92 if (get_unaligned((__u16 *)node->data.hints) == get_unaligned((__u16 *)new->data.hints)) in irlmp_add_discovery()
100 hashbin_insert(cachelog, (irda_queue_t *) new, new->data.daddr, NULL); in irlmp_add_discovery()
173 if ((curr->data.saddr == saddr) && in irlmp_expire_discoveries()
194 memcpy(&(buffer[i]), &(curr->data), in irlmp_expire_discoveries()
236 IRDA_DEBUG(0, " daddr=%08x\n", discovery->data.daddr);
237 IRDA_DEBUG(0, " saddr=%08x\n", discovery->data.saddr);
238 IRDA_DEBUG(0, " nickname=%s\n", discovery->data.info);
[all …]
Dtimer.c38 static void irlap_slot_timer_expired(void* data);
39 static void irlap_query_timer_expired(void* data);
40 static void irlap_final_timer_expired(void* data);
41 static void irlap_wd_timer_expired(void* data);
42 static void irlap_backoff_timer_expired(void* data);
43 static void irlap_media_busy_expired(void* data);
142 static void irlap_slot_timer_expired(void *data) in irlap_slot_timer_expired() argument
144 struct irlap_cb *self = (struct irlap_cb *) data; in irlap_slot_timer_expired()
158 static void irlap_query_timer_expired(void *data) in irlap_query_timer_expired() argument
160 struct irlap_cb *self = (struct irlap_cb *) data; in irlap_query_timer_expired()
[all …]
Dirlap_frame.c177 frame = (struct snrm_frame *) skb->data; in irlap_recv_snrm_cmd()
337 frame = (struct xid_frame *) tx_skb->data; in irlap_send_discovery_xid_frame()
353 frame->daddr = cpu_to_le32(discovery->data.daddr); in irlap_send_discovery_xid_frame()
384 if (discovery->data.hints[0] & HINT_EXTENSION) { in irlap_send_discovery_xid_frame()
386 info[0] = discovery->data.hints[0]; in irlap_send_discovery_xid_frame()
387 info[1] = discovery->data.hints[1]; in irlap_send_discovery_xid_frame()
390 info[0] = discovery->data.hints[0]; in irlap_send_discovery_xid_frame()
393 info[0] = discovery->data.charset; in irlap_send_discovery_xid_frame()
397 memcpy(info, discovery->data.info, len); in irlap_send_discovery_xid_frame()
427 xid = (struct xid_frame *) skb->data; in irlap_recv_discovery_xid_rsp()
[all …]
Dirsysctl.c118 .data = &sysctl_discovery,
127 .data = sysctl_devname,
137 .data = &irda_debug,
147 .data = &sysctl_fast_poll_increase,
156 .data = &sysctl_discovery_slots,
167 .data = &sysctl_discovery_timeout,
175 .data = &sysctl_slot_timeout,
186 .data = &sysctl_max_baud_rate,
197 .data = &sysctl_min_tx_turn_time,
208 .data = &sysctl_max_tx_data_size,
[all …]
/net/sctp/
Dsysctl.c63 .data = &sctp_rto_initial,
74 .data = &sctp_rto_min,
85 .data = &sctp_rto_max,
96 .data = &sctp_valid_cookie_life,
107 .data = &sctp_max_burst,
118 .data = &sctp_max_retrans_association,
129 .data = &sctp_sndbuf_policy,
138 .data = &sctp_rcvbuf_policy,
147 .data = &sctp_max_retrans_path,
158 .data = &sctp_max_retrans_init,
[all …]
/net/netfilter/
Dnf_conntrack_h323_main.c51 unsigned char **data, int dataoff,
56 unsigned char **data, int dataoff,
63 unsigned char **data,
68 unsigned char **data,
73 unsigned char **data, int dataoff,
81 unsigned char **data, int dataoff,
87 unsigned char **data, int dataoff,
93 unsigned char **data, int dataoff,
99 unsigned char **data, TransportAddress *taddr, int idx,
113 unsigned char **data, int *datalen, int *dataoff) in get_tpkt_data() argument
[all …]
Dnf_conntrack_irc.c69 static int parse_dcc(char *data, const char *data_end, u_int32_t *ip, in parse_dcc() argument
75 while (*data++ != ' ') in parse_dcc()
76 if (data > data_end - 12) in parse_dcc()
81 for (tmp = data; tmp <= data_end; tmp++) in parse_dcc()
87 *ad_beg_p = data; in parse_dcc()
88 *ip = simple_strtoul(data, &data, 10); in parse_dcc()
91 while (*data == ' ') { in parse_dcc()
92 if (data >= data_end) in parse_dcc()
94 data++; in parse_dcc()
97 *port = simple_strtoul(data, &data, 10); in parse_dcc()
[all …]
Dnf_conntrack_ftp.c116 static int try_number(const char *data, size_t dlen, u_int32_t array[], in try_number() argument
124 for (i = 0, len = 0; len < dlen && i < array_size; len++, data++) { in try_number()
125 if (*data >= '0' && *data <= '9') { in try_number()
126 array[i] = array[i]*10 + *data - '0'; in try_number()
128 else if (*data == sep) in try_number()
133 if (*data == term && i == array_size - 1) in try_number()
137 len, i, *data); in try_number()
147 static int try_rfc959(const char *data, size_t dlen, in try_rfc959() argument
153 length = try_number(data, dlen, array, 6, ',', term); in try_rfc959()
164 static int get_port(const char *data, int start, size_t dlen, char delim, in get_port() argument
[all …]
/net/netfilter/ipvs/
Dip_vs_ftp.c75 static int ip_vs_ftp_get_addrport(char *data, char *data_limit, in ip_vs_ftp_get_addrport() argument
83 if (data_limit - data < plen) { in ip_vs_ftp_get_addrport()
85 if (strnicmp(data, pattern, data_limit - data) == 0) in ip_vs_ftp_get_addrport()
91 if (strnicmp(data, pattern, plen) != 0) { in ip_vs_ftp_get_addrport()
94 *start = data + plen; in ip_vs_ftp_get_addrport()
96 for (data = *start; *data != term; data++) { in ip_vs_ftp_get_addrport()
97 if (data == data_limit) in ip_vs_ftp_get_addrport()
100 *end = data; in ip_vs_ftp_get_addrport()
103 for (data = *start; data != *end; data++) { in ip_vs_ftp_get_addrport()
104 if (*data >= '0' && *data <= '9') { in ip_vs_ftp_get_addrport()
[all …]
/net/core/
Dethtool.c38 int ethtool_op_set_tx_csum(struct net_device *dev, u32 data) in ethtool_op_set_tx_csum() argument
40 if (data) in ethtool_op_set_tx_csum()
48 int ethtool_op_set_tx_hw_csum(struct net_device *dev, u32 data) in ethtool_op_set_tx_hw_csum() argument
50 if (data) in ethtool_op_set_tx_hw_csum()
58 int ethtool_op_set_tx_ipv6_csum(struct net_device *dev, u32 data) in ethtool_op_set_tx_ipv6_csum() argument
60 if (data) in ethtool_op_set_tx_ipv6_csum()
73 int ethtool_op_set_sg(struct net_device *dev, u32 data) in ethtool_op_set_sg() argument
75 if (data) in ethtool_op_set_sg()
88 int ethtool_op_set_tso(struct net_device *dev, u32 data) in ethtool_op_set_tso() argument
90 if (data) in ethtool_op_set_tso()
[all …]
Dsysctl_net_core.c21 .data = &sysctl_wmem_max,
29 .data = &sysctl_rmem_max,
37 .data = &sysctl_wmem_default,
45 .data = &sysctl_rmem_default,
53 .data = &weight_p,
61 .data = &netdev_max_backlog,
69 .data = &net_ratelimit_state.interval,
78 .data = &net_ratelimit_state.burst,
86 .data = &sysctl_optmem_max,
95 .data = &netdev_budget,
[all …]
/net/rxrpc/
Dar-key.c71 static int rxrpc_instantiate(struct key *key, const void *data, size_t datalen) in rxrpc_instantiate() argument
82 if (!data && datalen == 0) in rxrpc_instantiate()
87 if (datalen <= 4 || !data) in rxrpc_instantiate()
89 memcpy(&kver, data, sizeof(kver)); in rxrpc_instantiate()
90 data += sizeof(kver); in rxrpc_instantiate()
104 tsec = data; in rxrpc_instantiate()
144 key->payload.data = upayload; in rxrpc_instantiate()
156 static int rxrpc_instantiate_s(struct key *key, const void *data, in rxrpc_instantiate_s() argument
166 memcpy(&key->type_data, data, 8); in rxrpc_instantiate_s()
174 if (crypto_blkcipher_setkey(ci, data, 8) < 0) in rxrpc_instantiate_s()
[all …]
/net/irda/irlan/
Dirlan_filter.c64 skb->data[0] = 0x00; /* Success */ in irlan_filter_request()
65 skb->data[1] = 0x03; in irlan_filter_request()
77 skb->data[0] = 0x00; /* Success */ in irlan_filter_request()
78 skb->data[1] = 0x00; in irlan_filter_request()
85 skb->data[0] = 0x00; /* Success */ in irlan_filter_request()
86 skb->data[1] = 0x00; in irlan_filter_request()
94 skb->data[0] = 0x00; /* Success */ in irlan_filter_request()
95 skb->data[1] = 0x00; in irlan_filter_request()
102 skb->data[0] = 0x00; /* Success */ in irlan_filter_request()
103 skb->data[1] = 0x00; in irlan_filter_request()
[all …]
/net/bluetooth/cmtp/
Dcapi.c141 scb->data = (CAPIMSG_COMMAND(skb->data) == CAPI_DATA_B3); in cmtp_send_capimsg()
192 switch (CAPIMSG_SUBCOMMAND(skb->data)) { in cmtp_recv_interopmsg()
197 func = CAPIMSG_U16(skb->data, CAPI_MSG_BASELEN + 5); in cmtp_recv_interopmsg()
198 info = CAPIMSG_U16(skb->data, CAPI_MSG_BASELEN + 8); in cmtp_recv_interopmsg()
202 msgnum = CAPIMSG_MSGID(skb->data); in cmtp_recv_interopmsg()
208 application->mapping = CAPIMSG_APPID(skb->data); in cmtp_recv_interopmsg()
215 appl = CAPIMSG_APPID(skb->data); in cmtp_recv_interopmsg()
230 controller = CAPIMSG_U16(skb->data, CAPI_MSG_BASELEN + 11); in cmtp_recv_interopmsg()
231 msgnum = CAPIMSG_MSGID(skb->data); in cmtp_recv_interopmsg()
241 skb->data + CAPI_MSG_BASELEN + 11, in cmtp_recv_interopmsg()
[all …]
/net/bluetooth/
Dhci_event.c52 __u8 status = *((__u8 *) skb->data); in hci_cc_inquiry_cancel()
68 __u8 status = *((__u8 *) skb->data); in hci_cc_exit_periodic_inq()
87 struct hci_rp_role_discovery *rp = (void *) skb->data; in hci_cc_role_discovery()
110 struct hci_rp_read_link_policy *rp = (void *) skb->data; in hci_cc_read_link_policy()
129 struct hci_rp_write_link_policy *rp = (void *) skb->data; in hci_cc_write_link_policy()
153 struct hci_rp_read_def_link_policy *rp = (void *) skb->data; in hci_cc_read_def_link_policy()
165 __u8 status = *((__u8 *) skb->data); in hci_cc_write_def_link_policy()
182 __u8 status = *((__u8 *) skb->data); in hci_cc_reset()
191 __u8 status = *((__u8 *) skb->data); in hci_cc_write_local_name()
208 struct hci_rp_read_local_name *rp = (void *) skb->data; in hci_cc_read_local_name()
[all …]
/net/wireless/
Dlib80211_crypt_ccmp.c239 pos = skb->data + hdr_len + CCMP_HDR_LEN; in lib80211_ccmp_encrypt()
241 hdr = (struct ieee80211_hdr *)skb->data; in lib80211_ccmp_encrypt()
298 u8 *mic = skb->data + skb->len - CCMP_MIC_LEN; in lib80211_ccmp_decrypt()
305 hdr = (struct ieee80211_hdr *)skb->data; in lib80211_ccmp_decrypt()
306 pos = skb->data + hdr_len; in lib80211_ccmp_decrypt()
386 memmove(skb->data + CCMP_HDR_LEN, skb->data, hdr_len); in lib80211_ccmp_decrypt()
395 struct lib80211_ccmp_data *data = priv; in lib80211_ccmp_set_key() local
397 struct crypto_cipher *tfm = data->tfm; in lib80211_ccmp_set_key()
399 keyidx = data->key_idx; in lib80211_ccmp_set_key()
400 memset(data, 0, sizeof(*data)); in lib80211_ccmp_set_key()
[all …]
/net/8021q/
Dvlan_netlink.c39 static int vlan_validate(struct nlattr *tb[], struct nlattr *data[]) in vlan_validate() argument
52 if (!data) in vlan_validate()
55 if (data[IFLA_VLAN_ID]) { in vlan_validate()
56 id = nla_get_u16(data[IFLA_VLAN_ID]); in vlan_validate()
60 if (data[IFLA_VLAN_FLAGS]) { in vlan_validate()
61 flags = nla_data(data[IFLA_VLAN_FLAGS]); in vlan_validate()
67 err = vlan_validate_qos_map(data[IFLA_VLAN_INGRESS_QOS]); in vlan_validate()
70 err = vlan_validate_qos_map(data[IFLA_VLAN_EGRESS_QOS]); in vlan_validate()
77 struct nlattr *tb[], struct nlattr *data[]) in vlan_changelink() argument
84 if (data[IFLA_VLAN_FLAGS]) { in vlan_changelink()
[all …]
/net/sunrpc/xprtrdma/
Dsvc_rdma.c86 atomic_t *stat = (atomic_t *)table->data; in read_reset_stat()
95 char *data; in read_reset_stat() local
104 data = &str_buf[*ppos]; in read_reset_stat()
120 .data = &svcrdma_max_requests,
130 .data = &svcrdma_max_req_size,
140 .data = &svcrdma_ord,
151 .data = &rdma_stat_read,
158 .data = &rdma_stat_recv,
165 .data = &rdma_stat_write,
172 .data = &rdma_stat_sq_starve,
[all …]
/net/mac80211/
Dwep.c90 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data; in ieee80211_wep_add_iv()
112 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data; in ieee80211_wep_remove_iv()
116 memmove(skb->data + WEP_IV_LEN, skb->data, hdrlen); in ieee80211_wep_remove_iv()
125 size_t klen, u8 *data, size_t data_len) in ieee80211_wep_encrypt_data() argument
131 icv = cpu_to_le32(~crc32_le(~0, data, data_len)); in ieee80211_wep_encrypt_data()
132 put_unaligned(icv, (__le32 *)(data + data_len)); in ieee80211_wep_encrypt_data()
135 sg_init_one(&sg, data, data_len + WEP_ICV_LEN); in ieee80211_wep_encrypt_data()
168 len = skb->len - (iv + WEP_IV_LEN - skb->data); in ieee80211_wep_encrypt()
192 size_t klen, u8 *data, size_t data_len) in ieee80211_wep_decrypt_data() argument
199 sg_init_one(&sg, data, data_len + WEP_ICV_LEN); in ieee80211_wep_decrypt_data()
[all …]
/net/wanrouter/
Dwanmain.c271 skb->data[0] = NLPID_IP;
278 skb->data[0] = 0;
279 skb->data[1] = NLPID_SNAP;
282 *((unsigned short*)&skb->data[5]) = htons(type);
308 int cnt = skb->data[0] ? 0 : 1; /* there may be a pad present */
311 switch (skb->data[cnt]) {
318 if (memcmp(&skb->data[cnt + 1], wanrouter_oui_ether,
323 skb->data[cnt+1], skb->data[cnt+2],
324 skb->data[cnt+3], dev->name);
327 ethertype = *((__be16*)&skb->data[cnt+4]);
[all …]
/net/sunrpc/auth_gss/
Dgss_spkm3_mech.c73 res->data = NULL; in simple_get_netobj()
79 res->data = kmemdup(p, len, GFP_NOFS); in simple_get_netobj()
80 if (unlikely(res->data == NULL)) in simple_get_netobj()
146 kfree(ctx->derived_integ_key.data); in gss_import_sec_context_spkm3()
148 kfree(ctx->intg_alg.data); in gss_import_sec_context_spkm3()
150 kfree(ctx->derived_conf_key.data); in gss_import_sec_context_spkm3()
152 kfree(ctx->conf_alg.data); in gss_import_sec_context_spkm3()
154 kfree(ctx->mech_used.data); in gss_import_sec_context_spkm3()
156 kfree(ctx->ctx_id.data); in gss_import_sec_context_spkm3()
168 kfree(sctx->derived_integ_key.data); in gss_delete_sec_context_spkm3()
[all …]
/net/sched/
Dcls_rsvp.h241 struct rsvp_head *data; in rsvp_init() local
243 data = kzalloc(sizeof(struct rsvp_head), GFP_KERNEL); in rsvp_init()
244 if (data) { in rsvp_init()
245 tp->root = data; in rsvp_init()
261 struct rsvp_head *data = xchg(&tp->root, NULL); in rsvp_destroy() local
265 if (data == NULL) in rsvp_destroy()
268 sht = data->ht; in rsvp_destroy()
287 kfree(data); in rsvp_destroy()
332 struct rsvp_head *data = tp->root; in gen_handle() local
337 if ((data->hgenerator += 0x10000) == 0) in gen_handle()
[all …]
/net/netrom/
Dsysctl_net_netrom.c41 .data = &sysctl_netrom_default_path_quality,
52 .data = &sysctl_netrom_obsolescence_count_initialiser,
63 .data = &sysctl_netrom_network_ttl_initialiser,
74 .data = &sysctl_netrom_transport_timeout,
85 .data = &sysctl_netrom_transport_maximum_tries,
96 .data = &sysctl_netrom_transport_acknowledge_delay,
107 .data = &sysctl_netrom_transport_busy_delay,
118 .data = &sysctl_netrom_transport_requested_window_size,
129 .data = &sysctl_netrom_transport_no_activity_timeout,
140 .data = &sysctl_netrom_routing_control,
[all …]

12345678910>>...17