Home
last modified time | relevance | path

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

12345678910>>...26

/net/ieee802154/
Dnl_policy.c24 [IEEE802154_ATTR_DEV_NAME] = { .type = NLA_STRING, },
25 [IEEE802154_ATTR_DEV_INDEX] = { .type = NLA_U32, },
26 [IEEE802154_ATTR_PHY_NAME] = { .type = NLA_STRING, },
28 [IEEE802154_ATTR_STATUS] = { .type = NLA_U8, },
29 [IEEE802154_ATTR_SHORT_ADDR] = { .type = NLA_U16, },
30 [IEEE802154_ATTR_HW_ADDR] = { .type = NLA_HW_ADDR, },
31 [IEEE802154_ATTR_PAN_ID] = { .type = NLA_U16, },
32 [IEEE802154_ATTR_CHANNEL] = { .type = NLA_U8, },
33 [IEEE802154_ATTR_PAGE] = { .type = NLA_U8, },
34 [IEEE802154_ATTR_COORD_SHORT_ADDR] = { .type = NLA_U16, },
[all …]
/net/tipc/
Dnetlink.c48 [TIPC_NLA_UNSPEC] = { .type = NLA_UNSPEC, },
49 [TIPC_NLA_BEARER] = { .type = NLA_NESTED, },
50 [TIPC_NLA_SOCK] = { .type = NLA_NESTED, },
51 [TIPC_NLA_PUBL] = { .type = NLA_NESTED, },
52 [TIPC_NLA_LINK] = { .type = NLA_NESTED, },
53 [TIPC_NLA_MEDIA] = { .type = NLA_NESTED, },
54 [TIPC_NLA_NODE] = { .type = NLA_NESTED, },
55 [TIPC_NLA_NET] = { .type = NLA_NESTED, },
56 [TIPC_NLA_NAME_TABLE] = { .type = NLA_NESTED, },
57 [TIPC_NLA_MON] = { .type = NLA_NESTED, },
[all …]
Dname_table.c97 u32 type; member
115 static struct publication *publ_create(u32 type, u32 lower, u32 upper, in publ_create() argument
125 publ->type = type; in publ_create()
149 static struct name_seq *tipc_nameseq_create(u32 type, struct hlist_head *seq_head) in tipc_nameseq_create() argument
162 nseq->type = type; in tipc_nameseq_create()
229 u32 type, u32 lower, in tipc_nameseq_insert_publ() argument
275 type, lower, upper); in tipc_nameseq_insert_publ()
288 type, lower, upper); in tipc_nameseq_insert_publ()
309 publ = publ_create(type, lower, upper, scope, node, port, key); in tipc_nameseq_insert_publ()
443 static struct name_seq *nametbl_find_seq(struct net *net, u32 type) in nametbl_find_seq() argument
[all …]
/net/sctp/
Dsm_statefuns.c83 const sctp_subtype_t type,
89 const sctp_subtype_t type,
95 const sctp_subtype_t type,
119 const sctp_subtype_t type,
127 const sctp_subtype_t type,
135 const sctp_subtype_t type,
143 const sctp_subtype_t type,
150 const sctp_subtype_t type,
156 const sctp_subtype_t type,
220 const sctp_subtype_t type, in sctp_sf_do_4_C() argument
[all …]
/net/ipv6/netfilter/
Dnf_conntrack_proto_icmpv6.c48 tuple->dst.u.icmp.type = hp->icmp6_type; in icmpv6_pkt_to_tuple()
77 int type = orig->dst.u.icmp.type - 128; in icmpv6_invert_tuple() local
78 if (type < 0 || type >= sizeof(invmap) || !invmap[type]) in icmpv6_invert_tuple()
82 tuple->dst.u.icmp.type = invmap[type] - 1; in icmpv6_invert_tuple()
92 tuple->dst.u.icmp.type, in icmpv6_print_tuple()
127 int type = ct->tuplehash[0].tuple.dst.u.icmp.type - 128; in icmpv6_new() local
129 if (type < 0 || type >= sizeof(valid_new) || !valid_new[type]) { in icmpv6_new()
132 type + 128); in icmpv6_new()
138 type + 128); in icmpv6_new()
204 int type; in icmpv6_error() local
[all …]
/net/irda/
Dparameters.c39 PV_TYPE type, PI_HANDLER func);
41 PV_TYPE type, PI_HANDLER func);
43 PV_TYPE type, PI_HANDLER func);
45 PV_TYPE type, PI_HANDLER func);
48 PV_TYPE type, PI_HANDLER func);
50 PV_TYPE type, PI_HANDLER func);
79 PV_TYPE type, PI_HANDLER func) in irda_insert_no_value() argument
106 PV_TYPE type, PI_HANDLER func) in irda_extract_no_value() argument
127 PV_TYPE type, PI_HANDLER func) in irda_insert_integer() argument
134 p.pl = type & PV_MASK; /* The integer type codes the length as well */ in irda_insert_integer()
[all …]
/net/netfilter/ipset/
Dip_set_core.c86 struct ip_set_type *type; in find_set_type() local
88 list_for_each_entry_rcu(type, &ip_set_type_list, list) in find_set_type()
89 if (STRNCMP(type->name, name) && in find_set_type()
90 (type->family == family || in find_set_type()
91 type->family == NFPROTO_UNSPEC) && in find_set_type()
92 revision >= type->revision_min && in find_set_type()
93 revision <= type->revision_max) in find_set_type()
94 return type; in find_set_type()
121 struct ip_set_type *type; in __find_set_type_get() local
136 list_for_each_entry_rcu(type, &ip_set_type_list, list) in __find_set_type_get()
[all …]
Dip_set_hash_mac.c137 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 },
138 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 },
139 [IPSET_ATTR_PROBES] = { .type = NLA_U8 },
140 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 },
141 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
142 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
145 [IPSET_ATTR_ETHER] = { .type = NLA_BINARY,
147 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
148 [IPSET_ATTR_LINENO] = { .type = NLA_U32 },
149 [IPSET_ATTR_BYTES] = { .type = NLA_U64 },
[all …]
Dip_set_hash_ipmark.c284 [IPSET_ATTR_MARKMASK] = { .type = NLA_U32 },
285 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 },
286 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 },
287 [IPSET_ATTR_PROBES] = { .type = NLA_U8 },
288 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 },
289 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
290 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
293 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
294 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
295 [IPSET_ATTR_MARK] = { .type = NLA_U32 },
[all …]
Dip_set_hash_ipport.c350 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 },
351 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 },
352 [IPSET_ATTR_PROBES] = { .type = NLA_U8 },
353 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 },
354 [IPSET_ATTR_PROTO] = { .type = NLA_U8 },
355 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
356 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
359 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
360 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
361 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
[all …]
Dip_set_hash_ip.c284 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 },
285 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 },
286 [IPSET_ATTR_PROBES] = { .type = NLA_U8 },
287 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 },
288 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
289 [IPSET_ATTR_NETMASK] = { .type = NLA_U8 },
290 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
293 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
294 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
295 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
[all …]
Dip_set_hash_ipportip.c365 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 },
366 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 },
367 [IPSET_ATTR_PROBES] = { .type = NLA_U8 },
368 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 },
369 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
370 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
373 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
374 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
375 [IPSET_ATTR_IP2] = { .type = NLA_NESTED },
376 [IPSET_ATTR_PORT] = { .type = NLA_U16 },
[all …]
/net/core/
Dlwtunnel.c71 const struct lwtunnel_encap_ops *ops = lwtun_encaps[lws->type]; in lwtstate_free()
204 if (lwtstate->type == LWTUNNEL_ENCAP_NONE || in lwtunnel_fill_encap()
205 lwtstate->type > LWTUNNEL_ENCAP_MAX) in lwtunnel_fill_encap()
211 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); in lwtunnel_fill_encap()
219 ret = nla_put_u16(skb, RTA_ENCAP_TYPE, lwtstate->type); in lwtunnel_fill_encap()
240 if (lwtstate->type == LWTUNNEL_ENCAP_NONE || in lwtunnel_get_encap_size()
241 lwtstate->type > LWTUNNEL_ENCAP_MAX) in lwtunnel_get_encap_size()
245 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); in lwtunnel_get_encap_size()
265 if (a->type != b->type) in lwtunnel_cmp_encap()
268 if (a->type == LWTUNNEL_ENCAP_NONE || in lwtunnel_cmp_encap()
[all …]
Dtimestamping.c39 unsigned int type; in skb_clone_tx_timestamp() local
44 type = classify(skb); in skb_clone_tx_timestamp()
45 if (type == PTP_CLASS_NONE) in skb_clone_tx_timestamp()
53 phydev->drv->txtstamp(phydev, clone, type); in skb_clone_tx_timestamp()
61 unsigned int type; in skb_defer_rx_timestamp() local
71 type = ptp_classify_raw(skb); in skb_defer_rx_timestamp()
75 if (type == PTP_CLASS_NONE) in skb_defer_rx_timestamp()
80 return phydev->drv->rxtstamp(phydev, skb, type); in skb_defer_rx_timestamp()
/net/ipv4/netfilter/
Dnf_conntrack_proto_icmp.c42 tuple->dst.u.icmp.type = hp->type; in icmp_pkt_to_tuple()
64 if (orig->dst.u.icmp.type >= sizeof(invmap) || in icmp_invert_tuple()
65 !invmap[orig->dst.u.icmp.type]) in icmp_invert_tuple()
69 tuple->dst.u.icmp.type = invmap[orig->dst.u.icmp.type] - 1; in icmp_invert_tuple()
79 tuple->dst.u.icmp.type, in icmp_print_tuple()
117 if (ct->tuplehash[0].tuple.dst.u.icmp.type >= sizeof(valid_new) || in icmp_new()
118 !valid_new[ct->tuplehash[0].tuple.dst.u.icmp.type]) { in icmp_new()
121 ct->tuplehash[0].tuple.dst.u.icmp.type); in icmp_new()
213 if (icmph->type > NR_ICMP_TYPES) { in icmp_error()
221 if (icmph->type != ICMP_DEST_UNREACH && in icmp_error()
[all …]
/net/802/
Dfddi.c53 unsigned short type, in fddi_header() argument
59 if(type != ETH_P_IP && type != ETH_P_IPV6 && type != ETH_P_ARP) in fddi_header()
63 if(type == ETH_P_IP || type == ETH_P_IPV6 || type == ETH_P_ARP) in fddi_header()
71 fddi->hdr.llc_snap.ethertype = htons(type); in fddi_header()
100 __be16 type; in fddi_type_trans() local
113 type = htons(ETH_P_802_2); in fddi_type_trans()
118 type=fddi->hdr.llc_snap.ethertype; in fddi_type_trans()
139 return type; in fddi_type_trans()
161 dev->type = ARPHRD_FDDI; in fddi_setup()
/net/netfilter/
Dnf_conntrack_extend.c120 static void update_alloc_size(struct nf_ct_ext_type *type) in update_alloc_size() argument
127 if ((type->flags & NF_CT_EXT_F_PREALLOC) == 0) { in update_alloc_size()
128 min = type->id; in update_alloc_size()
129 max = type->id; in update_alloc_size()
156 int nf_ct_extend_register(struct nf_ct_ext_type *type) in nf_ct_extend_register() argument
161 if (nf_ct_ext_types[type->id]) { in nf_ct_extend_register()
168 type->alloc_size = ALIGN(sizeof(struct nf_ct_ext), type->align) in nf_ct_extend_register()
169 + type->len; in nf_ct_extend_register()
170 rcu_assign_pointer(nf_ct_ext_types[type->id], type); in nf_ct_extend_register()
171 update_alloc_size(type); in nf_ct_extend_register()
[all …]
Dxt_repldata.h16 #define xt_alloc_initial_table(type, typ2) ({ \ argument
21 struct type##_replace repl; \
22 struct type##_standard entries[]; \
24 struct type##_error *term; \
30 term = (struct type##_error *)&(((char *)tbl)[term_offset]); \
32 *term = (struct type##_error)typ2##_ERROR_INIT; \
35 tbl->repl.size = nhooks * sizeof(struct type##_standard) + \
36 sizeof(struct type##_error); \
42 tbl->entries[i++] = (struct type##_standard) \
44 bytes += sizeof(struct type##_standard); \
/net/dcb/
Ddcbnl.c56 [DCB_ATTR_IFNAME] = {.type = NLA_NUL_STRING, .len = IFNAMSIZ - 1},
57 [DCB_ATTR_STATE] = {.type = NLA_U8},
58 [DCB_ATTR_PFC_CFG] = {.type = NLA_NESTED},
59 [DCB_ATTR_PG_CFG] = {.type = NLA_NESTED},
60 [DCB_ATTR_SET_ALL] = {.type = NLA_U8},
61 [DCB_ATTR_PERM_HWADDR] = {.type = NLA_FLAG},
62 [DCB_ATTR_CAP] = {.type = NLA_NESTED},
63 [DCB_ATTR_PFC_STATE] = {.type = NLA_U8},
64 [DCB_ATTR_BCN] = {.type = NLA_NESTED},
65 [DCB_ATTR_APP] = {.type = NLA_NESTED},
[all …]
/net/batman-adv/
Dtvlv.c77 batadv_tvlv_handler_get(struct batadv_priv *bat_priv, u8 type, u8 version) in batadv_tvlv_handler_get() argument
84 if (tvlv_handler_tmp->type != type) in batadv_tvlv_handler_get()
136 batadv_tvlv_container_get(struct batadv_priv *bat_priv, u8 type, u8 version) in batadv_tvlv_container_get() argument
143 if (tvlv_tmp->tvlv_hdr.type != type) in batadv_tvlv_container_get()
214 u8 type, u8 version) in batadv_tvlv_container_unregister() argument
219 tvlv = batadv_tvlv_container_get(bat_priv, type, version); in batadv_tvlv_container_unregister()
237 u8 type, u8 version, in batadv_tvlv_container_register() argument
250 tvlv_new->tvlv_hdr.type = type; in batadv_tvlv_container_register()
258 tvlv_old = batadv_tvlv_container_get(bat_priv, type, version); in batadv_tvlv_container_register()
342 tvlv_hdr->type = tvlv->tvlv_hdr.type; in batadv_tvlv_container_ogm_append()
[all …]
Dnetlink.c70 [BATADV_ATTR_VERSION] = { .type = NLA_STRING },
71 [BATADV_ATTR_ALGO_NAME] = { .type = NLA_STRING },
72 [BATADV_ATTR_MESH_IFINDEX] = { .type = NLA_U32 },
73 [BATADV_ATTR_MESH_IFNAME] = { .type = NLA_STRING },
75 [BATADV_ATTR_HARD_IFINDEX] = { .type = NLA_U32 },
76 [BATADV_ATTR_HARD_IFNAME] = { .type = NLA_STRING },
79 [BATADV_ATTR_TPMETER_RESULT] = { .type = NLA_U8 },
80 [BATADV_ATTR_TPMETER_TEST_TIME] = { .type = NLA_U32 },
81 [BATADV_ATTR_TPMETER_BYTES] = { .type = NLA_U64 },
82 [BATADV_ATTR_TPMETER_COOKIE] = { .type = NLA_U32 },
[all …]
/net/llc/
Dllc_input.c42 void llc_add_pack(int type, void (*handler)(struct llc_sap *sap, in llc_add_pack() argument
46 if (type == LLC_DEST_SAP || type == LLC_DEST_CONN) in llc_add_pack()
47 llc_type_handlers[type - 1] = handler; in llc_add_pack()
50 void llc_remove_pack(int type) in llc_remove_pack() argument
52 if (type == LLC_DEST_SAP || type == LLC_DEST_CONN) in llc_remove_pack()
53 llc_type_handlers[type - 1] = NULL; in llc_remove_pack()
77 int type = LLC_DEST_CONN; /* I-PDU or S-PDU type */ in llc_pdu_type() local
86 type = LLC_DEST_SAP; in llc_pdu_type()
95 type = LLC_DEST_INVALID; in llc_pdu_type()
99 return type; in llc_pdu_type()
Dllc_s_ev.c27 return ev->type == LLC_SAP_EV_TYPE_SIMPLE && in llc_sap_ev_activation_req()
36 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) && in llc_sap_ev_rx_ui()
45 return ev->type == LLC_SAP_EV_TYPE_PRIM && in llc_sap_ev_unitdata_req()
55 return ev->type == LLC_SAP_EV_TYPE_PRIM && in llc_sap_ev_xid_req()
65 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) && in llc_sap_ev_rx_xid_c()
75 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_RSP(pdu) && in llc_sap_ev_rx_xid_r()
84 return ev->type == LLC_SAP_EV_TYPE_PRIM && in llc_sap_ev_test_req()
94 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) && in llc_sap_ev_rx_test_c()
104 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_RSP(pdu) && in llc_sap_ev_rx_test_r()
113 return ev->type == LLC_SAP_EV_TYPE_SIMPLE && in llc_sap_ev_deactivation_req()
/net/mac802154/
Dmib.c37 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_dev_set_page_channel()
54 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_get_params()
70 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_set_params()
86 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_add_key()
101 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_del_key()
116 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_add_dev()
130 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_del_dev()
146 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_add_devkey()
162 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_del_devkey()
177 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_add_seclevel()
[all …]
/net/mac80211/
Diface.c193 if (iter->vif.type == NL80211_IFTYPE_MONITOR && in ieee80211_verify_mac()
222 if (sdata->vif.type == NL80211_IFTYPE_MONITOR && in ieee80211_change_mac()
269 if ((sdata->vif.type == NL80211_IFTYPE_OCB && in ieee80211_check_concurrent_iface()
270 nsdata->vif.type != NL80211_IFTYPE_MONITOR) || in ieee80211_check_concurrent_iface()
271 (sdata->vif.type != NL80211_IFTYPE_MONITOR && in ieee80211_check_concurrent_iface()
272 nsdata->vif.type == NL80211_IFTYPE_OCB)) in ieee80211_check_concurrent_iface()
286 nsdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_check_concurrent_iface()
307 nsdata->vif.type)) in ieee80211_check_concurrent_iface()
314 nsdata->vif.type == NL80211_IFTYPE_AP) in ieee80211_check_concurrent_iface()
417 sdata->vif.type = NL80211_IFTYPE_MONITOR; in ieee80211_add_virtual_monitor()
[all …]

12345678910>>...26