/net/netlabel/ |
H A D | netlabel_mgmt.c | 71 [NLBL_MGMT_A_DOMAIN] = { .type = NLA_NUL_STRING }, 72 [NLBL_MGMT_A_PROTOCOL] = { .type = NLA_U32 }, 73 [NLBL_MGMT_A_VERSION] = { .type = NLA_U32 }, 74 [NLBL_MGMT_A_CV4DOI] = { .type = NLA_U32 }, 106 entry->def.type = nla_get_u32(info->attrs[NLBL_MGMT_A_PROTOCOL]); 118 /* NOTE: internally we allow/use a entry->def.type value of 123 switch (entry->def.type) { 174 map->def.type = entry->def.type; 184 entry->def.type [all...] |
/net/core/ |
H A D | gen_stats.c | 28 gnet_stats_copy(struct gnet_dump *d, int type, void *buf, int size) argument 30 if (nla_put(d->skb, type, size, buf)) 42 * @type: TLV type for top level statistic TLV 43 * @tc_stats_type: TLV type for backward compatibility struct tc_stats TLV 44 * @xstats_type: TLV type for backward compatibility xstats TLV 58 gnet_stats_start_copy_compat(struct sk_buff *skb, int type, int tc_stats_type, 66 if (type) 73 return gnet_stats_copy(d, type, NULL, 0); 82 * @type 93 gnet_stats_start_copy(struct sk_buff *skb, int type, spinlock_t *lock, struct gnet_dump *d) argument [all...] |
/net/hsr/ |
H A D | hsr_forward.c | 119 if (port->type == HSR_PT_SLAVE_A) 177 if ((port->type != HSR_PT_SLAVE_A) && (port->type != HSR_PT_SLAVE_B)) { 209 if (frame->port_rcv->type == HSR_PT_MASTER) { 229 * tags if they're of the non-HSR type (but only after duplicate discard). The 243 if ((port->type == HSR_PT_MASTER) && !frame->is_local_dest) 247 if ((port->type != HSR_PT_MASTER) && frame->is_local_exclusive) 255 if (frame->is_supervision && (port->type == HSR_PT_MASTER)) { 262 if (port->type != HSR_PT_MASTER) 272 if (port->type [all...] |
H A D | hsr_netlink.c | 23 [IFLA_HSR_SLAVE1] = { .type = NLA_U32 }, 24 [IFLA_HSR_SLAVE2] = { .type = NLA_U32 }, 25 [IFLA_HSR_MULTICAST_SPEC] = { .type = NLA_U8 }, 26 [IFLA_HSR_SUPERVISION_ADDR] = { .type = NLA_BINARY, .len = ETH_ALEN }, 27 [IFLA_HSR_SEQ_NR] = { .type = NLA_U16 }, 120 [HSR_A_NODE_ADDR] = { .type = NLA_BINARY, .len = ETH_ALEN }, 121 [HSR_A_NODE_ADDR_B] = { .type = NLA_BINARY, .len = ETH_ALEN }, 122 [HSR_A_IFINDEX] = { .type = NLA_U32 }, 123 [HSR_A_IF1_AGE] = { .type = NLA_U32 }, 124 [HSR_A_IF2_AGE] = { .type [all...] |
/net/lapb/ |
H A D | lapb_subr.c | 114 frame->type = LAPB_ILLEGAL; 161 frame->type = LAPB_I; 174 frame->type = skb->data[0] & 0x0F; 184 frame->type = skb->data[0] & ~LAPB_SPF; 195 frame->type = LAPB_I; 203 frame->type = skb->data[0] & 0x0F; 210 frame->type = skb->data[0] & ~LAPB_SPF; 229 int poll_bit, int type) 258 lapb_transmit_buffer(lapb, skb, type); 228 lapb_send_control(struct lapb_cb *lapb, int frametype, int poll_bit, int type) argument
|
/net/ipv6/ |
H A D | udplite.c | 24 u8 type, u8 code, int offset, __be32 info) 26 __udp6_lib_err(skb, opt, type, code, offset, info, &udplite_table); 63 .type = SOCK_DGRAM, 22 udplitev6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
|
H A D | xfrm6_protocol.c | 84 u8 type, u8 code, int offset, __be32 info) 89 if (!handler->err_handler(skb, opt, type, code, offset, info)) 111 u8 type, u8 code, int offset, __be32 info) 116 if (!handler->err_handler(skb, opt, type, code, offset, info)) 138 u8 type, u8 code, int offset, __be32 info) 143 if (!handler->err_handler(skb, opt, type, code, offset, info)) 83 xfrm6_esp_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument 110 xfrm6_ah_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument 137 xfrm6_ipcomp_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
|
/net/mac802154/ |
H A D | monitor.c | 73 if (sdata->type != IEEE802154_DEV_MONITOR || 104 dev->type = ARPHRD_IEEE802154_MONITOR; 113 priv->type = IEEE802154_DEV_MONITOR;
|
/net/netfilter/ |
H A D | nft_counter.c | 62 [NFTA_COUNTER_PACKETS] = { .type = NLA_U64 }, 63 [NFTA_COUNTER_BYTES] = { .type = NLA_U64 }, 83 .type = &nft_counter_type,
|
H A D | nft_limit.c | 52 [NFTA_LIMIT_RATE] = { .type = NLA_U64 }, 53 [NFTA_LIMIT_UNIT] = { .type = NLA_U64 }, 89 .type = &nft_limit_type,
|
H A D | nf_conntrack_proto_sctp.c | 97 - Check the error type in the reply dir before transitioning from 208 pr_debug("Chunk Num: %d Type: %d\n", count, sch->type); 210 if (sch->type == SCTP_CID_INIT || 211 sch->type == SCTP_CID_INIT_ACK || 212 sch->type == SCTP_CID_SHUTDOWN_COMPLETE) 220 if (((sch->type == SCTP_CID_COOKIE_ACK || 221 sch->type == SCTP_CID_COOKIE_ECHO || 229 set_bit(sch->type, map); 242 pr_debug("Chunk type: %d\n", chunk_type); 284 pr_debug("Unknown chunk type, Wil [all...] |
H A D | nft_lookup.c | 41 [NFTA_LOOKUP_SET] = { .type = NLA_STRING }, 42 [NFTA_LOOKUP_SREG] = { .type = NLA_U32 }, 43 [NFTA_LOOKUP_DREG] = { .type = NLA_U32 }, 125 .type = &nft_lookup_type,
|
H A D | nft_byteorder.c | 69 [NFTA_BYTEORDER_SREG] = { .type = NLA_U32 }, 70 [NFTA_BYTEORDER_DREG] = { .type = NLA_U32 }, 71 [NFTA_BYTEORDER_OP] = { .type = NLA_U32 }, 72 [NFTA_BYTEORDER_LEN] = { .type = NLA_U32 }, 73 [NFTA_BYTEORDER_SIZE] = { .type = NLA_U32 }, 150 .type = &nft_byteorder_type,
|
H A D | xt_sctp.c | 68 ++i, offset, sch->type, htons(sch->length), 75 if (SCTP_CHUNKMAP_IS_SET(info->chunkmap, sch->type)) { 79 sch->type, sch->flags)) { 86 sch->type, sch->flags)) 87 SCTP_CHUNKMAP_CLEAR(chunkmapcopy, sch->type); 92 sch->type, sch->flags))
|
/net/batman-adv/ |
H A D | distributed-arp-table.c | 323 * @type: ARP type 328 uint16_t type, int hdr_size, char *msg) 361 batadv_dbg(BATADV_DBG_DAT, bat_priv, "* type: DAT_DHT_PUT\n"); 364 batadv_dbg(BATADV_DBG_DAT, bat_priv, "* type: DAT_DHT_GET\n"); 368 "* type: DAT_CACHE_REPLY\n"); 371 batadv_dbg(BATADV_DBG_DAT, bat_priv, "* type: DATA\n"); 374 batadv_dbg(BATADV_DBG_DAT, bat_priv, "* type: Unknown (%u)!\n", 387 "* encapsulated within an unknown packet type (0x%x)\n", 395 uint16_t type, in 327 batadv_dbg_arp(struct batadv_priv *bat_priv, struct sk_buff *skb, uint16_t type, int hdr_size, char *msg) argument 394 batadv_dbg_arp(struct batadv_priv *bat_priv, struct sk_buff *skb, uint16_t type, int hdr_size, char *msg) argument 808 uint16_t type = 0; local 905 uint16_t type = 0; local 993 uint16_t type; local 1071 uint16_t type; local 1113 uint16_t type; local 1164 uint16_t type; local [all...] |
H A D | main.c | 377 /* packet should hold at least type and version */ 618 * based on the provided type and version (both need to match) 620 * @type: tvlv handler type to look for 627 uint8_t type, uint8_t version) 634 if (tvlv_handler_tmp->type != type) 664 * list based on the provided type and version (both need to match) 666 * @type: tvlv container type t 626 batadv_tvlv_handler_get(struct batadv_priv *bat_priv, uint8_t type, uint8_t version) argument 675 batadv_tvlv_container_get(struct batadv_priv *bat_priv, uint8_t type, uint8_t version) argument 747 batadv_tvlv_container_unregister(struct batadv_priv *bat_priv, uint8_t type, uint8_t version) argument 770 batadv_tvlv_container_register(struct batadv_priv *bat_priv, uint8_t type, uint8_t version, void *tvlv_value, uint16_t tvlv_value_len) argument 1047 batadv_tvlv_handler_register(struct batadv_priv *bat_priv, void (*optr)(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, uint8_t flags, void *tvlv_value, uint16_t tvlv_value_len), int (*uptr)(struct batadv_priv *bat_priv, uint8_t *src, uint8_t *dst, void *tvlv_value, uint16_t tvlv_value_len), uint8_t type, uint8_t version, uint8_t flags) argument 1091 batadv_tvlv_handler_unregister(struct batadv_priv *bat_priv, uint8_t type, uint8_t version) argument 1118 batadv_tvlv_unicast_send(struct batadv_priv *bat_priv, uint8_t *src, uint8_t *dst, uint8_t type, uint8_t version, void *tvlv_value, uint16_t tvlv_value_len) argument [all...] |
/net/802/ |
H A D | mrp.c | 230 const void *value, u8 len, u8 type) 232 if (attr->type != type) 233 return attr->type - type; 240 const void *value, u8 len, u8 type) 248 d = mrp_attr_cmp(attr, value, len, type); 260 const void *value, u8 len, u8 type) 269 d = mrp_attr_cmp(attr, value, len, type); 283 attr->type 229 mrp_attr_cmp(const struct mrp_attr *attr, const void *value, u8 len, u8 type) argument 239 mrp_attr_lookup(const struct mrp_applicant *app, const void *value, u8 len, u8 type) argument 259 mrp_attr_create(struct mrp_applicant *app, const void *value, u8 len, u8 type) argument 520 mrp_request_join(const struct net_device *dev, const struct mrp_application *appl, const void *value, u8 len, u8 type) argument 545 mrp_request_leave(const struct net_device *dev, const struct mrp_application *appl, const void *value, u8 len, u8 type) argument [all...] |
/net/atm/ |
H A D | lec_arpc.h | 58 u32 type; member in struct:tlv
|
H A D | resources.c | 34 static struct atm_dev *__alloc_atm_dev(const char *type) argument 41 dev->type = type; 77 struct atm_dev *atm_dev_register(const char *type, struct device *parent, argument 83 dev = __alloc_atm_dev(type); 85 pr_err("no space for dev %s\n", type); 115 pr_err("atm_proc_dev_register failed for dev %s\n", type); 120 pr_err("atm_register_sysfs failed for dev %s\n", type); 289 size = strlen(dev->type) + 1; 290 if (copy_to_user(buf, dev->type, siz [all...] |
/net/bridge/ |
H A D | br_netlink.c | 98 hdr->ifi_type = dev->type; 221 [IFLA_BRIDGE_FLAGS] = { .type = NLA_U16 }, 222 [IFLA_BRIDGE_MODE] = { .type = NLA_U16 }, 223 [IFLA_BRIDGE_VLAN_INFO] = { .type = NLA_BINARY, 277 [IFLA_BRPORT_STATE] = { .type = NLA_U8 }, 278 [IFLA_BRPORT_COST] = { .type = NLA_U32 }, 279 [IFLA_BRPORT_PRIORITY] = { .type = NLA_U16 }, 280 [IFLA_BRPORT_MODE] = { .type = NLA_U8 }, 281 [IFLA_BRPORT_GUARD] = { .type = NLA_U8 }, 282 [IFLA_BRPORT_PROTECT] = { .type [all...] |
/net/ceph/ |
H A D | ceph_hash.c | 97 unsigned int ceph_str_hash(int type, const char *s, unsigned int len) argument 99 switch (type) { 110 const char *ceph_str_hash_name(int type) argument 112 switch (type) {
|
/net/llc/ |
H A D | llc_output.c | 29 * Fills MAC header fields, depending on MAC type. Returns 0, If MAC type 30 * is a valid type and initialization completes correctly 1, otherwise. 37 switch (skb->dev->type) {
|
/net/x25/ |
H A D | x25_dev.c | 94 pr_debug("x25_receive_data(): unknown frame type %2x\n",frametype); 156 switch (nb->dev->type) { 186 if (nb->dev->type == ARPHRD_ETHER) 189 if (nb->dev->type != ARPHRD_X25) 212 switch (nb->dev->type) {
|
/net/packet/ |
H A D | internal.h | 8 unsigned short type; member in struct:packet_mclist 82 u8 type; member in struct:packet_fanout
|
/net/ipv4/ |
H A D | gre_offload.c | 128 __be16 type; local 148 type = greh->protocol; 151 ptype = gro_find_receive_by_type(type); 232 __be16 type; local 237 type = greh->protocol; 245 ptype = gro_find_complete_by_type(type);
|