/net/ieee802154/ |
H A D | reassembly.h | 7 __be16 tag; member in struct:lowpan_create_arg 18 __be16 tag; member in struct:lowpan_frag_queue
|
H A D | reassembly.c | 51 static unsigned int lowpan_hash_frag(__be16 tag, u16 d_size, argument 58 (__force u32)(tag + (d_size << 16)), 67 return lowpan_hash_frag(fq->tag, fq->d_size, &fq->saddr, &fq->daddr); 76 return fq->tag == arg->tag && fq->d_size == arg->d_size && 88 fq->tag = arg->tag; 124 arg.tag = frag_info->d_tag;
|
/net/netfilter/ |
H A D | xt_qtaguid_print.h | 17 char *pp_tag_t(tag_t *tag); 45 static inline char *pp_tag_t(tag_t *tag) argument
|
H A D | xt_qtaguid_print.c | 42 char *pp_tag_t(tag_t *tag) argument 46 if (!tag) 50 "tag_t@%p{tag=0x%llx, uid=%u}", 51 tag, *tag, get_uid_from_tag(*tag)); 124 tag_str = pp_tag_t(&tn->tag); 126 "tag_node@%p{tag=%s}", 237 tag_str = pp_tag_t(&st->tag); 241 "pid=%u, tag [all...] |
H A D | xt_qtaguid_internal.h | 79 * By default a tag is just based on the UID. 81 * So a tag will always at least represent a UID (uid_tag). 83 * A tag can be augmented with an "accounting tag" which is associated 85 * User space can set the acct_tag portion of the tag which is then used 87 * tag. The policing is then based on the tag's uid_tag portion, 121 static inline uid_t get_uid_from_tag(tag_t tag) argument 123 return tag & TAG_UID_MASK; 125 static inline tag_t get_utag_from_tag(tag_t tag) argument 129 get_atag_from_tag(tag_t tag) argument 134 valid_atag(tag_t tag) argument 204 tag_t tag; member in struct:tag_node 265 tag_t tag; member in struct:sock_tag [all...] |
H A D | xt_qtaguid.c | 101 * - don't check that active tag stats exceed some limits. 176 static struct tag_node *tag_node_tree_search(struct rb_root *root, tag_t tag) argument 184 " node=%p data=%p\n", tag, node, data); 185 result = tag_compare(tag, data->tag); 187 " data.tag=0x%llx (uid=%u) res=%d\n", 188 tag, data->tag, get_uid_from_tag(data->tag), result); 207 int result = tag_compare(data->tag, thi 231 tag_stat_tree_search(struct rb_root *root, tag_t tag) argument 245 tag_counter_set_tree_search(struct rb_root *root, tag_t tag) argument 260 tag_ref_tree_search(struct rb_root *root, tag_t tag) argument 619 get_active_counter_set(tag_t tag) argument 1260 create_if_tag_stat(struct iface_stat *iface_entry, tag_t tag) argument 1283 tag_t tag, acct_tag; local 1996 tag_t tag; local 2156 tag_t tag; local 2522 tag_t tag; /* tag found by reading to tag_pos */ member in struct:proc_print_info 2546 tag_t tag = ts_entry->tn.tag; local [all...] |
/net/9p/ |
H A D | protocol.c | 582 int p9pdu_prepare(struct p9_fcall *pdu, int16_t tag, int8_t type) argument 585 return p9pdu_writef(pdu, 0, "dbw", 0, type, tag); 598 p9_debug(P9_DEBUG_9P, ">>> size=%d type: %d tag: %d\n", 599 pdu->size, pdu->id, pdu->tag);
|
H A D | trans_virtio.c | 96 * tag name to identify a mount Non-null terminated 98 char *tag; member in struct:virtio_chan 165 p9_debug(P9_DEBUG_TRANS, ": lookup tag %d\n", rc->tag); 166 req = p9_tag_lookup(chan->client, rc->tag); 507 return snprintf(buf, chan->tag_len + 1, "%s", chan->tag); 523 char *tag; local 554 tag = kmalloc(tag_len, GFP_KERNEL); 555 if (!tag) { 560 virtio_cread_bytes(vdev, offsetof(struct virtio_9p_config, tag), [all...] |
H A D | trans_rdma.c | 285 int16_t tag; local 294 err = p9_parse_header(c->rc, NULL, NULL, &tag, 1); 298 req = p9_tag_lookup(client, tag); 305 pr_err("Duplicate reply for request %d", tag);
|
H A D | trans_fd.c | 332 u16 tag; local 343 tag = le16_to_cpu(*(__le16 *) (m->rbuf+5)); /* read tag */ 345 "mux %p pkt: size: %d bytes tag: %d\n", m, n, tag); 347 m->req = p9_tag_lookup(m->client, tag); 349 p9_debug(P9_DEBUG_ERROR, "Unexpected packet tag %d\n", 350 tag);
|
H A D | client.c | 219 * p9_tag_alloc - lookup/allocate a request by tag 220 * @c: client session to lookup tag within 221 * @tag: numeric id for transaction 234 p9_tag_alloc(struct p9_client *c, u16 tag, unsigned int max_size) argument 241 /* This looks up the original request by tag so we know which 243 tag++; 245 if (tag >= c->max_tag) { 248 while (tag >= c->max_tag) { 249 row = (tag / P9_ROW_MAXTAG); 254 pr_err("Couldn't grow tag arra 309 p9_tag_lookup(struct p9_client *c, u16 tag) argument 404 int tag = r->tc->tag; local 444 p9_parse_header(struct p9_fcall *pdu, int32_t *size, int8_t *type, int16_t *tag, int rewind) argument 682 int tag, err; local [all...] |
/net/atm/ |
H A D | mpoa_caches.c | 354 static eg_cache_entry *eg_cache_get_by_tag(__be32 tag, struct mpoa_client *mpc) argument 362 if (entry->ctrl_info.tag == tag) {
|
H A D | mpc.c | 500 __be32 tag; member in struct:__anon8 541 if (entry->ctrl_info.tag != 0) { 542 ddprintk("(%s) adding tag 0x%x\n", 543 mpc->dev->name, entry->ctrl_info.tag); 544 tagged_llc_snap_hdr.tag = entry->ctrl_info.tag; 553 /* add LLC/SNAP header + tag */ 691 __be32 tag; local 739 tag = *(__be32 *)tmp; 741 eg = mpc->eg_ops->get_by_tag(tag, mp [all...] |
/net/sched/ |
H A D | em_meta.c | 172 * vlan tag 177 unsigned short tag; local 179 tag = vlan_tx_tag_get(skb); 180 if (!tag && __vlan_get_tag(skb, &tag)) 183 dst->value = tag;
|
/net/bridge/ |
H A D | br_private.h | 633 * skb, the vlan tag will always be present if the frame was tagged. 754 static inline u16 br_vlan_get_tag(const struct sk_buff *skb, u16 *tag) argument
|
/net/ipv4/ |
H A D | cipso_ipv4.c | 5 * draft-ietf-cipso-ipsecurity-01.txt with additional tag types as found in 87 /* Restricted bitmap (tag #1) flags */ 103 /* Base length of the restrictive category bitmap tag (tag #1). */ 106 /* Base length of the enumerated category tag (tag #2). */ 109 /* Base length of the ranged categories bitmap tag (tag #5). */ 111 /* The maximum number of category ranges permitted in the ranged category tag 112 * (tag # 1320 cipso_v4_parsetag_rbm(const struct cipso_v4_doi *doi_def, const unsigned char *tag, struct netlbl_lsm_secattr *secattr) argument 1411 cipso_v4_parsetag_enum(const struct cipso_v4_doi *doi_def, const unsigned char *tag, struct netlbl_lsm_secattr *secattr) argument 1501 cipso_v4_parsetag_rng(const struct cipso_v4_doi *doi_def, const unsigned char *tag, struct netlbl_lsm_secattr *secattr) argument 1569 cipso_v4_parsetag_loc(const struct cipso_v4_doi *doi_def, const unsigned char *tag, struct netlbl_lsm_secattr *secattr) argument 1601 unsigned char *tag; local [all...] |
H A D | route.c | 1202 static void set_class_tag(struct rtable *rt, u32 tag) argument 1205 rt->dst.tclassid |= tag & 0xFFFF; 1207 rt->dst.tclassid |= tag & 0xFFFF0000;
|
/net/ipv4/netfilter/ |
H A D | nf_nat_snmp_basic.c | 172 static unsigned char asn1_tag_decode(struct asn1_ctx *ctx, unsigned int *tag) argument 176 *tag = 0; 182 *tag <<= 7; 183 *tag |= ch & 0x7F; 191 unsigned int *tag) 200 *tag = (ch & 0x1F); 202 if (*tag == 0x1F) { 203 if (!asn1_tag_decode(ctx, tag)) 250 unsigned int *tag) 254 if (!asn1_id_decode(ctx, cls, con, tag)) 188 asn1_id_decode(struct asn1_ctx *ctx, unsigned int *cls, unsigned int *con, unsigned int *tag) argument 246 asn1_header_decode(struct asn1_ctx *ctx, unsigned char **eoc, unsigned int *cls, unsigned int *con, unsigned int *tag) argument 628 unsigned int tag; member in struct:snmp_cnv 653 snmp_tag_cls2syntax(unsigned int tag, unsigned int cls, unsigned short *syntax) argument 674 unsigned int cls, con, tag, len, idlen; local 833 unsigned int cls, con, tag; local 928 unsigned int cls, con, tag, len; local 1023 unsigned int cls, con, tag, vers, pdutype; local [all...] |