Searched refs:type (Results 51 - 75 of 585) sorted by relevance

1234567891011>>

/net/atm/
H A Dsignaling.c64 msg->type = as_error;
72 msg->type = as_okay;
93 pr_debug("%d (0x%lx)\n", (int)msg->type, (unsigned long)vcc);
96 switch (msg->type) {
153 pr_alert("bad message type %d\n", (int)msg->type);
162 void sigd_enq2(struct atm_vcc *vcc, enum atmsvc_msg_type type, argument
171 pr_debug("%d (0x%p)\n", (int)type, vcc);
176 msg->type = type;
200 sigd_enq(struct atm_vcc *vcc, enum atmsvc_msg_type type, struct atm_vcc *listen_vcc, const struct sockaddr_atmpvc *pvc, const struct sockaddr_atmsvc *svc) argument
[all...]
/net/netfilter/ipset/
H A Dip_set_bitmap_ip.c10 /* Kernel module implementing an IP set type: the bitmap:ip type */
218 /* Create bitmap:ip type of sets */
348 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
349 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
350 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
351 [IPSET_ATTR_NETMASK] = { .type = NLA_U8 },
352 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
353 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
356 [IPSET_ATTR_IP] = { .type
[all...]
H A Dip_set_hash_net.c8 /* Kernel module implementing an IP set type: the hash:net type */
371 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 },
372 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 },
373 [IPSET_ATTR_PROBES] = { .type = NLA_U8 },
374 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 },
375 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
376 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
379 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
380 [IPSET_ATTR_IP_TO] = { .type
[all...]
H A Dip_set_hash_ipportnet.c8 /* Kernel module implementing an IP set type: the hash:ip,port,net type */
528 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 },
529 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 },
530 [IPSET_ATTR_PROBES] = { .type = NLA_U8 },
531 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 },
532 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
533 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
536 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
537 [IPSET_ATTR_IP_TO] = { .type
[all...]
H A Dip_set_hash_netportnet.c8 /* Kernel module implementing an IP set type: the hash:ip,port,net type */
556 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 },
557 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 },
558 [IPSET_ATTR_PROBES] = { .type = NLA_U8 },
559 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 },
560 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
561 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
564 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
565 [IPSET_ATTR_IP_TO] = { .type
[all...]
H A Dip_set_hash_netport.c8 /* Kernel module implementing an IP set type: the hash:net,port type */
478 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 },
479 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 },
480 [IPSET_ATTR_PROBES] = { .type = NLA_U8 },
481 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 },
482 [IPSET_ATTR_PROTO] = { .type = NLA_U8 },
483 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
484 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
487 [IPSET_ATTR_IP] = { .type
[all...]
/net/netfilter/
H A Dnft_bitwise.c44 [NFTA_BITWISE_SREG] = { .type = NLA_U32 },
45 [NFTA_BITWISE_DREG] = { .type = NLA_U32 },
46 [NFTA_BITWISE_LEN] = { .type = NLA_U32 },
47 [NFTA_BITWISE_MASK] = { .type = NLA_NESTED },
48 [NFTA_BITWISE_XOR] = { .type = NLA_NESTED },
123 .type = &nft_bitwise_type,
H A Dnft_payload.c54 [NFTA_PAYLOAD_DREG] = { .type = NLA_U32 },
55 [NFTA_PAYLOAD_BASE] = { .type = NLA_U32 },
56 [NFTA_PAYLOAD_OFFSET] = { .type = NLA_U32 },
57 [NFTA_PAYLOAD_LEN] = { .type = NLA_U32 },
95 .type = &nft_payload_type,
103 .type = &nft_payload_type,
H A Dnft_queue.c58 [NFTA_QUEUE_NUM] = { .type = NLA_U16 },
59 [NFTA_QUEUE_TOTAL] = { .type = NLA_U16 },
60 [NFTA_QUEUE_FLAGS] = { .type = NLA_U16 },
102 .type = &nft_queue_type,
/net/nfc/hci/
H A Dhcp.c34 u8 type, u8 instruction,
51 cmd->wait_response = (type == NFC_HCI_HCP_COMMAND) ? true : false;
87 packet->message.header = HCP_HEADER(type, instruction);
139 * Receive hcp message for pipe, with type and cmd.
142 void nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, argument
145 switch (type) {
157 type, instruction);
33 nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, u8 instruction, const u8 *payload, size_t payload_len, data_exchange_cb_t cb, void *cb_context, unsigned long completion_delay) argument
/net/mac80211/
H A Diface.c188 if (iter->vif.type == NL80211_IFTYPE_MONITOR &&
217 if (sdata->vif.type == NL80211_IFTYPE_MONITOR &&
272 nsdata->vif.type == NL80211_IFTYPE_ADHOC)
293 nsdata->vif.type))
300 nsdata->vif.type == NL80211_IFTYPE_AP)
400 sdata->vif.type = NL80211_IFTYPE_MONITOR;
477 * an error on interface type changes that have been pre-checked, so most
490 switch (sdata->vif.type) {
562 switch (sdata->vif.type) {
616 if (sdata->vif.type
1304 ieee80211_setup_sdata(struct ieee80211_sub_if_data *sdata, enum nl80211_iftype type) argument
1388 ieee80211_runtime_change_iftype(struct ieee80211_sub_if_data *sdata, enum nl80211_iftype type) argument
1466 ieee80211_if_change_type(struct ieee80211_sub_if_data *sdata, enum nl80211_iftype type) argument
1494 ieee80211_assign_perm_addr(struct ieee80211_local *local, u8 *perm_addr, enum nl80211_iftype type) argument
1627 ieee80211_if_add(struct ieee80211_local *local, const char *name, struct wireless_dev **new_wdev, enum nl80211_iftype type, struct vif_params *params) argument
[all...]
/net/ipv4/
H A Dicmp.c18 * with icmp type masking ability instead
19 * of broken per type icmp timeouts.
289 struct flowi4 *fl4, int type, int code)
294 if (type > NR_ICMP_TYPES)
298 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED)
305 /* Limit if icmp type is enabled in ratemask. */
306 if (!((1 << type) & net->ipv4.sysctl_icmp_ratemask))
326 void icmp_out_count(struct net *net, unsigned char type) argument
328 ICMPMSGOUT_INC_STATS(net, type);
347 if (icmp_pointers[icmp_param->data.icmph.type]
288 icmpv4_xrlim_allow(struct net *net, struct rtable *rt, struct flowi4 *fl4, int type, int code) argument
440 icmp_route_lookup(struct net *net, struct flowi4 *fl4, struct sk_buff *skb_in, const struct iphdr *iph, __be32 saddr, u8 tos, u32 mark, int type, int code, struct icmp_bxm *param) argument
544 icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info) argument
1032 int type = icmp_hdr(skb)->type; local
[all...]
/net/ipv6/netfilter/
H A Dip6t_mh.c28 /* Returns 1 if the type is matched by the range, 0 otherwise */
30 type_match(u_int8_t min, u_int8_t max, u_int8_t type, bool invert) argument
32 return (type >= min && type <= max) ^ invert;
/net/802/
H A Dpsnap.c38 if (!memcmp(p->type, desc, 5)) {
55 .type = cpu_to_be16(ETH_P_SNAP),
88 memcpy(skb_push(skb, 5), dl->type, 5);
141 memcpy(proto->type, desc, 5);
H A Dgarp.c141 const void *data, u8 len, u8 type)
143 if (attr->type != type)
144 return attr->type - type;
151 const void *data, u8 len, u8 type)
159 d = garp_attr_cmp(attr, data, len, type);
171 const void *data, u8 len, u8 type)
180 d = garp_attr_cmp(attr, data, len, type);
194 attr->type
140 garp_attr_cmp(const struct garp_attr *attr, const void *data, u8 len, u8 type) argument
150 garp_attr_lookup(const struct garp_applicant *app, const void *data, u8 len, u8 type) argument
170 garp_attr_create(struct garp_applicant *app, const void *data, u8 len, u8 type) argument
344 garp_request_join(const struct net_device *dev, const struct garp_application *appl, const void *data, u8 len, u8 type) argument
364 garp_request_leave(const struct net_device *dev, const struct garp_application *appl, const void *data, u8 len, u8 type) argument
[all...]
/net/appletalk/
H A Ddev.c16 dev->type = ARPHRD_LOCALTLK;
/net/ax25/
H A Dax25_ds_in.c35 static int ax25_ds_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) argument
103 static int ax25_ds_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) argument
148 static int ax25_ds_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) argument
195 if (type == AX25_COMMAND && pf)
216 if (type == AX25_COMMAND && pf)
282 int ax25_ds_frame_in(ax25_cb *ax25, struct sk_buff *skb, int type) argument
290 queued = ax25_ds_state1_machine(ax25, skb, frametype, pf, type);
293 queued = ax25_ds_state2_machine(ax25, skb, frametype, pf, type);
296 queued = ax25_ds_state3_machine(ax25, skb, frametype, ns, nr, pf, type);
H A Dax25_std_in.c42 static int ax25_std_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) argument
106 static int ax25_std_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) argument
144 static int ax25_std_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) argument
185 if (type == AX25_COMMAND && pf)
197 if (type == AX25_COMMAND && pf)
269 static int ax25_std_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) argument
312 if (type == AX25_RESPONSE && pf) {
329 if (type == AX25_COMMAND && pf)
341 if (pf && type == AX25_RESPONSE) {
358 if (type
422 ax25_std_frame_in(ax25_cb *ax25, struct sk_buff *skb, int type) argument
[all...]
/net/batman-adv/
H A Dsysfs.h47 int batadv_throw_uevent(struct batadv_priv *bat_priv, enum batadv_uev_type type,
/net/bluetooth/bnep/
H A Dbnep.h84 __u8 type; member in struct:bnep_setup_conn_req
91 __u8 type; member in struct:bnep_set_filter_req
98 __u8 type; member in struct:bnep_control_rsp
104 __u8 type; member in struct:bnep_ext_hdr
/net/dccp/
H A Ddccp.h263 const char *dccp_packet_name(const int type);
373 const __u8 type = DCCP_SKB_CB(skb)->dccpd_type;
375 return type == DCCP_PKT_ACK ||
376 type == DCCP_PKT_CLOSE ||
377 type == DCCP_PKT_CLOSEREQ ||
378 type == DCCP_PKT_RESET ||
379 type == DCCP_PKT_SYNC ||
380 type == DCCP_PKT_SYNCACK;
386 const __u8 type = DCCP_SKB_CB(skb)->dccpd_type;
388 return type
[all...]
/net/netlabel/
H A Dnetlabel_user.h62 struct audit_buffer *netlbl_audit_start_common(int type,
/net/rfkill/
H A Dinput.c11 * If you ever run into a situation in which you have a SW_ type rfkill
85 static void __rfkill_handle_normal_op(const enum rfkill_type type, argument
90 blocked = rfkill_get_global_sw_state(type);
94 rfkill_switch_all(type, blocked);
172 static void rfkill_schedule_toggle(enum rfkill_type type) argument
181 __set_bit(type, rfkill_sw_pending);
182 __change_bit(type, rfkill_sw_state);
196 static void rfkill_event(struct input_handle *handle, unsigned int type, argument
199 if (type == EV_KEY && data == 1) {
217 } else if (type
[all...]
/net/tipc/
H A Dserver.h58 * @type: socket type
75 int type; member in struct:tipc_server
/net/openvswitch/
H A Dflow_netlink.c145 if (match->key->eth.type == htons(ETH_P_ARP)
146 || match->key->eth.type == htons(ETH_P_RARP)) {
152 if (match->key->eth.type == htons(ETH_P_IP)) {
154 if (match->mask && (match->mask->key.eth.type == htons(0xffff)))
187 if (match->key->eth.type == htons(ETH_P_IPV6)) {
189 if (match->mask && (match->mask->key.eth.type == htons(0xffff)))
295 u16 type = nla_type(nla); local
298 if (type > OVS_KEY_ATTR_MAX) {
299 OVS_NLERR("Unknown key attribute (type=%d, max=%d).\n",
300 type, OVS_KEY_ATTR_MA
353 int type = nla_type(a); local
1357 int type = nla_type(a); local
1643 int type = nla_type(a); local
1734 int type = nla_type(a); local
1798 int type = nla_type(a); local
[all...]

Completed in 263 milliseconds

1234567891011>>