/net/dsa/ |
D | tag_ksz.c | 124 u8 *tag; in ksz8795_xmit() local 130 tag = skb_put(skb, KSZ_INGRESS_TAG_LEN); in ksz8795_xmit() 133 *tag = 1 << dp->index; in ksz8795_xmit() 135 *tag |= KSZ8795_TAIL_TAG_OVERRIDE; in ksz8795_xmit() 142 u8 *tag = skb_tail_pointer(skb) - KSZ_EGRESS_TAG_LEN; in ksz8795_rcv() local 144 return ksz_common_rcv(skb, dev, tag[0] & 7, KSZ_EGRESS_TAG_LEN); in ksz8795_rcv() 185 static void ksz_rcv_timestamp(struct sk_buff *skb, u8 *tag) in ksz_rcv_timestamp() argument 187 u8 *tstamp_raw = tag - KSZ_PTP_TAG_LEN; in ksz_rcv_timestamp() 277 __be16 *tag; in ksz9477_xmit() local 286 tag = skb_put(skb, KSZ9477_INGRESS_TAG_LEN); in ksz9477_xmit() [all …]
|
D | tag_rtl4_a.c | 41 u8 *tag; in rtl4a_tag_xmit() local 53 tag = dsa_etype_header_pos_tx(skb); in rtl4a_tag_xmit() 56 p = (__be16 *)tag; in rtl4a_tag_xmit() 63 p = (__be16 *)(tag + 2); in rtl4a_tag_xmit() 75 u8 *tag; in rtl4a_tag_rcv() local 82 tag = dsa_etype_header_pos_rx(skb); in rtl4a_tag_rcv() 83 p = (__be16 *)tag; in rtl4a_tag_rcv() 90 p = (__be16 *)(tag + 2); in rtl4a_tag_rcv()
|
D | tag_hellcreek.c | 24 u8 *tag; in hellcreek_xmit() local 35 tag = skb_put(skb, HELLCREEK_TAG_LEN); in hellcreek_xmit() 36 *tag = BIT(dp->index); in hellcreek_xmit() 45 u8 *tag = skb_tail_pointer(skb) - HELLCREEK_TAG_LEN; in hellcreek_rcv() local 46 unsigned int port = tag[0] & 0x03; in hellcreek_rcv()
|
D | tag_rzn1_a5psw.c | 75 struct a5psw_tag *tag; in a5psw_tag_rcv() local 84 tag = dsa_etype_header_pos_rx(skb); in a5psw_tag_rcv() 86 if (tag->ctrl_tag != htons(ETH_P_DSA_A5PSW)) { in a5psw_tag_rcv() 91 port = FIELD_GET(A5PSW_CTRL_DATA_PORT, ntohs(tag->ctrl_data)); in a5psw_tag_rcv()
|
D | tag_rtl8_4.c | 104 void *tag) in rtl8_4_write_tag() argument 121 memcpy(tag, tag16, RTL8_4_TAG_LEN); in rtl8_4_write_tag() 151 void *tag) in rtl8_4_read_tag() argument 159 memcpy(tag16, tag, RTL8_4_TAG_LEN); in rtl8_4_read_tag()
|
D | Kconfig | 22 tristate "No-op tag driver" 24 Say Y or M if you want to enable support for switches which don't tag 42 Broadcom switches which place the tag after the MAC source address. 49 Broadcom legacy switches which place the tag after the MAC source 57 Broadcom switches which places the tag before the Ethernet header 145 Renesas RZ/N1 embedded switch that uses an 8 byte tag located after 164 tristate "Tag driver for switches using a trailer tag" 173 Arrow SpeedChips XRS700x switches that use a single byte tag trailer.
|
D | tag_lan9303.c | 61 u16 tag; in lan9303_xmit() local 71 tag = lan9303_xmit_use_arl(dp, skb->data) ? in lan9303_xmit() 75 lan9303_tag[1] = htons(tag); in lan9303_xmit()
|
D | Makefile | 18 tag.o \
|
/net/ceph/ |
D | cls_lock_client.c | 29 char *tag, char *desc, u8 flags) in ceph_cls_lock() argument 34 int tag_len = strlen(tag); in ceph_cls_lock() 65 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_lock() 74 __func__, lock_name, type, cookie, tag, desc, flags); in ceph_cls_lock() 194 char *tag, char *new_cookie) in ceph_cls_set_cookie() argument 199 int tag_len = strlen(tag); in ceph_cls_set_cookie() 226 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_set_cookie() 230 __func__, lock_name, type, old_cookie, tag, new_cookie); in ceph_cls_set_cookie() 288 static int decode_lockers(void **p, void *end, u8 *type, char **tag, in decode_lockers() argument 320 *tag = s; in decode_lockers() [all …]
|
/net/mctp/ |
D | route.c | 77 mctp_eid_t peer, u8 tag) in mctp_key_match() argument 85 if (key->tag != tag) in mctp_key_match() 102 u8 tag; in mctp_lookup_key() local 105 tag = mh->flags_seq_tag & (MCTP_HDR_TAG_MASK | MCTP_HDR_FLAG_TO); in mctp_lookup_key() 111 if (!mctp_key_match(key, mh->dest, peer, tag)) in mctp_lookup_key() 135 u8 tag, gfp_t gfp) in mctp_key_alloc() argument 145 key->tag = tag; in mctp_key_alloc() 189 key->tag)) { in mctp_key_add() 331 u8 tag, flags; in mctp_route_input() local 354 tag = mh->flags_seq_tag & (MCTP_HDR_TAG_MASK | MCTP_HDR_FLAG_TO); in mctp_route_input() [all …]
|
D | af_mctp.c | 359 u8 tag; in mctp_ioctl_alloctag() local 364 if (ctl.tag) in mctp_ioctl_alloctag() 371 true, &tag); in mctp_ioctl_alloctag() 375 ctl.tag = tag | MCTP_TAG_OWNER | MCTP_TAG_PREALLOC; in mctp_ioctl_alloctag() 403 u8 tag; in mctp_ioctl_droptag() local 412 if ((ctl.tag & ~MCTP_TAG_MASK) != (MCTP_TAG_OWNER | MCTP_TAG_PREALLOC)) in mctp_ioctl_droptag() 415 tag = ctl.tag & MCTP_TAG_MASK; in mctp_ioctl_droptag() 426 tag == key->tag) { in mctp_ioctl_droptag()
|
/net/9p/ |
D | trans_xen.c | 29 uint16_t tag; member 54 char *tag; member 79 if (!strcmp(priv->tag, addr)) { in p9_xen_create() 134 num = p9_req->tc.tag % priv->num_rings; in p9_xen_request() 202 req = p9_tag_lookup(priv->client, h.tag); in p9_xen_response() 204 dev_warn(&priv->dev->dev, "Wrong req tag=%x\n", h.tag); in p9_xen_response() 214 h.size, h.tag, req->rc.capacity); in p9_xen_response() 221 req->rc.tag = h.tag; in p9_xen_response() 308 kfree(priv->tag); in xen_9pfs_front_free() 456 priv->tag = xenbus_read(xbt, dev->nodename, "tag", NULL); in xen_9pfs_front_init() [all …]
|
D | trans_virtio.c | 83 char *tag; member 575 tag_len = strlen(chan->tag); in p9_mount_tag_show() 577 memcpy(buf, chan->tag, tag_len + 1); in p9_mount_tag_show() 595 char *tag; in p9_virtio_probe() local 632 tag = kzalloc(tag_len + 1, GFP_KERNEL); in p9_virtio_probe() 633 if (!tag) { in p9_virtio_probe() 638 virtio_cread_bytes(vdev, offsetof(struct virtio_9p_config, tag), in p9_virtio_probe() 639 tag, tag_len); in p9_virtio_probe() 640 chan->tag = tag; in p9_virtio_probe() 669 kfree(tag); in p9_virtio_probe() [all …]
|
D | client.c | 239 fc->tag = P9_NOTAG; in p9_fcall_init() 283 int tag; in p9_tag_alloc() local 317 tag = idr_alloc(&c->reqs, req, P9_NOTAG, P9_NOTAG + 1, in p9_tag_alloc() 320 tag = idr_alloc(&c->reqs, req, 0, P9_NOTAG, GFP_NOWAIT); in p9_tag_alloc() 321 req->tc.tag = tag; in p9_tag_alloc() 324 if (tag < 0) in p9_tag_alloc() 357 struct p9_req_t *p9_tag_lookup(struct p9_client *c, u16 tag) in p9_tag_lookup() argument 363 req = idr_find(&c->reqs, tag); in p9_tag_lookup() 372 if (req->tc.tag != tag) { in p9_tag_lookup() 393 u16 tag = r->tc.tag; in p9_tag_remove() local [all …]
|
D | trans_rdma.c | 298 int16_t tag; in recv_done() local 308 err = p9_parse_header(&c->rc, NULL, NULL, &tag, 1); in recv_done() 312 req = p9_tag_lookup(client, tag); in recv_done() 319 pr_err("Duplicate reply for request %d", tag); in recv_done()
|
D | trans_fd.c | 328 m, m->rc.size, m->rc.tag); in p9_read_work() 330 m->rreq = p9_tag_lookup(m->client, m->rc.tag); in p9_read_work() 333 m->rc.tag); in p9_read_work() 341 m->rc.size, m->rc.tag, m->rreq->rc.capacity); in p9_read_work() 349 m->rc.tag, m->rreq); in p9_read_work() 378 m->rc.tag); in p9_read_work()
|
D | protocol.h | 16 int p9pdu_prepare(struct p9_fcall *pdu, int16_t tag, int8_t type);
|
/net/ipv4/ |
D | cipso_ipv4.c | 1231 const unsigned char *tag, in cipso_v4_parsetag_rbm() argument 1235 u8 tag_len = tag[1]; in cipso_v4_parsetag_rbm() 1238 ret_val = cipso_v4_map_lvl_ntoh(doi_def, tag[3], &level); in cipso_v4_parsetag_rbm() 1246 &tag[4], in cipso_v4_parsetag_rbm() 1323 const unsigned char *tag, in cipso_v4_parsetag_enum() argument 1327 u8 tag_len = tag[1]; in cipso_v4_parsetag_enum() 1330 ret_val = cipso_v4_map_lvl_ntoh(doi_def, tag[3], &level); in cipso_v4_parsetag_enum() 1338 &tag[4], in cipso_v4_parsetag_enum() 1413 const unsigned char *tag, in cipso_v4_parsetag_rng() argument 1417 u8 tag_len = tag[1]; in cipso_v4_parsetag_rng() [all …]
|
/net/tls/ |
D | tls_device_fallback.c | 90 tls_make_aad(aad, len - cipher_desc->tag, (char *)&rcd_sn, buf[0], prot); in tls_enc_record() 103 *in_len += cipher_desc->tag; in tls_enc_record() 124 len -= cipher_desc->tag; in tls_enc_record() 319 sg_set_buf(&sg_out[2], dummy_buf, cipher_desc->tag); in fill_sg_out() 353 sync_size + cipher_desc->tag; in tls_enc_skb() 496 rc = crypto_aead_setauthsize(offload_ctx->aead_send, cipher_desc->tag); in tls_sw_fallback_init()
|
/net/ipv6/netfilter/ |
D | ip6t_srh.c | 111 !(srh->tag == srhinfo->tag))) in srh_mt6() 199 !(srh->tag == srhinfo->tag))) in srh1_mt6()
|
/net/atm/ |
D | mpc.c | 501 __be32 tag; in send_via_shortcut() member 542 if (entry->ctrl_info.tag != 0) { in send_via_shortcut() 544 mpc->dev->name, entry->ctrl_info.tag); in send_via_shortcut() 545 tagged_llc_snap_hdr.tag = entry->ctrl_info.tag; in send_via_shortcut() 691 __be32 tag; in mpc_push() local 739 tag = *(__be32 *)tmp; in mpc_push() 741 eg = mpc->eg_ops->get_by_tag(tag, mpc); in mpc_push() 744 dev->name, tag); in mpc_push() 759 skb_pull(skb, sizeof(struct llc_snap_hdr) + sizeof(tag)); in mpc_push()
|
D | mpoa_caches.c | 353 static eg_cache_entry *eg_cache_get_by_tag(__be32 tag, struct mpoa_client *mpc) in eg_cache_get_by_tag() argument 361 if (entry->ctrl_info.tag == tag) { in eg_cache_get_by_tag()
|
/net/ipv4/netfilter/ |
D | nf_nat_snmp_basic_main.c | 95 int snmp_version(void *context, size_t hdrlen, unsigned char tag, in snmp_version() argument 105 int snmp_helper(void *context, size_t hdrlen, unsigned char tag, in snmp_helper() argument
|
/net/ieee802154/6lowpan/ |
D | 6lowpan_i.h | 21 u16 tag; member
|
/net/iucv/ |
D | iucv.c | 1052 msg->tag = parm->purge.ipmsgtag; in iucv_message_purge() 1302 parm->dpl.ipmsgtag = msg->tag; in __iucv_message_send() 1311 parm->db.ipmsgtag = msg->tag; in __iucv_message_send() 1389 parm->dpl.ipmsgtag = msg->tag; in iucv_message_send2way() 1398 parm->db.ipmsgtag = msg->tag; in iucv_message_send2way() 1631 msg.tag = imc->ipmsgtag; in iucv_message_complete()
|