/Linux-v5.4/net/netfilter/ |
D | nf_conntrack_proto_sctp.c | 295 if (sh->vtag) in sctp_new() 306 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = ih->init_tag; in sctp_new() 309 sh->vtag); in sctp_new() 310 ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = sh->vtag; in sctp_new() 315 sh->vtag); in sctp_new() 316 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = sh->vtag; in sctp_new() 402 sh->vtag != ct->proto.sctp.vtag[dir]) { in nf_conntrack_sctp_packet() 413 if (sh->vtag != 0) in nf_conntrack_sctp_packet() 417 if (sh->vtag != ct->proto.sctp.vtag[dir] && in nf_conntrack_sctp_packet() 418 sh->vtag != ct->proto.sctp.vtag[!dir]) in nf_conntrack_sctp_packet() [all …]
|
/Linux-v5.4/net/sctp/ |
D | output.c | 73 void sctp_packet_config(struct sctp_packet *packet, __u32 vtag, in sctp_packet_config() argument 81 pr_debug("%s: packet:%p vtag:0x%x\n", __func__, packet, vtag); in sctp_packet_config() 82 packet->vtag = vtag; in sctp_packet_config() 155 packet->vtag = 0; in sctp_packet_init() 584 sh->vtag = htonl(packet->vtag); in sctp_packet_transmit()
|
D | sm_statefuns.c | 334 if (chunk->sctp_hdr->vtag != 0) in sctp_sf_do_5_1B_init() 1476 if (chunk->sctp_hdr->vtag != 0) in sctp_sf_do_unexpected_init() 3374 packet->vtag = ntohl(chunk->sctp_hdr->vtag); in sctp_sf_tabort_8_4_8() 3638 packet->vtag = ntohl(chunk->sctp_hdr->vtag); in sctp_sf_shut_8_4_5() 4600 packet->vtag = ntohl(chunk->sctp_hdr->vtag); in sctp_sf_abort_violation() 6181 packet->vtag = ntohl(chunk->sctp_hdr->vtag); in sctp_abort_pkt_new() 6207 __u32 vtag; in sctp_ootb_pkt_new() local 6226 vtag = ntohl(initack->init_hdr.init_tag); in sctp_ootb_pkt_new() 6230 vtag = asoc->peer.i.init_tag; in sctp_ootb_pkt_new() 6243 vtag = ntohl(init->init_hdr.init_tag); in sctp_ootb_pkt_new() [all …]
|
D | input.c | 483 __u32 vtag = ntohl(sctphdr->vtag); in sctp_err_lookup() local 517 if (vtag == 0) { in sctp_err_lookup() 528 } else if (vtag != asoc->c.peer_vtag) { in sctp_err_lookup()
|
D | outqueue.c | 766 const __u32 vtag = asoc->peer.i.init_tag; in sctp_packet_singleton() local 770 sctp_packet_config(&singleton, vtag, 0); in sctp_packet_singleton() 913 ctx->packet->vtag = ctx->asoc->c.my_vtag; in sctp_outq_flush_ctrl()
|
D | sm_make_chunk.c | 1770 if (ntohl(chunk->sctp_hdr->vtag) != bear_cookie->my_vtag) { in sctp_unpack_cookie()
|
/Linux-v5.4/include/linux/netfilter/ |
D | nf_conntrack_sctp.h | 11 __be32 vtag[IP_CT_DIR_MAX]; member
|
/Linux-v5.4/include/net/sctp/ |
D | sm.h | 380 if (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag) in sctp_vtag_verify() 415 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag)) || in sctp_vtag_verify_either() 417 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.peer_vtag))) { in sctp_vtag_verify_either()
|
D | structs.h | 709 __u32 vtag; member 739 void sctp_packet_config(struct sctp_packet *, __u32 vtag, int);
|
/Linux-v5.4/drivers/net/ethernet/tehuti/ |
D | tehuti.h | 323 #define TXD_W1_VAL(bc, checksum, vtag, lgsnd, vlan_id) \ argument 324 ((bc) | ((checksum)<<5) | ((vtag)<<8) | \
|
/Linux-v5.4/include/linux/ |
D | sctp.h | 48 __be32 vtag; member
|
/Linux-v5.4/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e.h | 220 u16 vtag; member
|
D | atl1e_main.c | 1457 u16 vlan_tag = (prrs->vtag >> 4) | in atl1e_clean_rx_irq() 1458 ((prrs->vtag & 7) << 13) | in atl1e_clean_rx_irq() 1459 ((prrs->vtag & 8) << 9); in atl1e_clean_rx_irq() 1462 prrs->vtag); in atl1e_clean_rx_irq()
|
/Linux-v5.4/drivers/net/ethernet/atheros/atlx/ |
D | atl2.h | 304 unsigned short vtag; /* vlan tag */ member
|
D | atl2.c | 436 u16 vlan_tag = (rxd->status.vtag>>4) | in atl2_intr_rx() 437 ((rxd->status.vtag&7) << 13) | in atl2_intr_rx() 438 ((rxd->status.vtag&8) << 9); in atl2_intr_rx()
|
/Linux-v5.4/drivers/infiniband/hw/i40iw/ |
D | i40iw_cm.c | 391 u16 vtag; in i40iw_form_cm_frame() local 438 vtag = (cm_node->user_pri << VLAN_PRIO_SHIFT) | cm_node->vlan_id; in i40iw_form_cm_frame() 439 ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); in i40iw_form_cm_frame() 468 vtag = (cm_node->user_pri << VLAN_PRIO_SHIFT) | cm_node->vlan_id; in i40iw_form_cm_frame() 469 ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); in i40iw_form_cm_frame() 3143 u16 vtag; in i40iw_receive_ilq() local 3157 vtag = ntohs(ethh->h_vlan_TCI); in i40iw_receive_ilq() 3158 cm_info.user_pri = (vtag & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in i40iw_receive_ilq() 3159 cm_info.vlan_id = vtag & VLAN_VID_MASK; in i40iw_receive_ilq()
|
/Linux-v5.4/drivers/net/ethernet/amd/ |
D | amd8111e.c | 688 short vtag; in amd8111e_rx_poll() local 716 vtag = status & TT_MASK; in amd8111e_rx_poll() 718 if (vtag != 0) in amd8111e_rx_poll() 753 if (vtag == TT_VLAN_TAGGED){ in amd8111e_rx_poll()
|
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/ |
D | lio_core.c | 580 u16 vtag = 0; in liquidio_push_packet() local 686 vtag = (priority << VLAN_PRIO_SHIFT) | vid; in liquidio_push_packet() 687 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vtag); in liquidio_push_packet()
|
/Linux-v5.4/drivers/net/ethernet/ti/ |
D | cpsw.c | 412 u16 vtag, vid, prio, pkt_type; in cpsw_rx_vlan_encap() local 440 vtag = (prio << VLAN_PRIO_SHIFT) | vid; in cpsw_rx_vlan_encap() 441 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vtag); in cpsw_rx_vlan_encap()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 1621 u16 vtag = tpa_info->metadata & RX_CMP_FLAGS2_METADATA_TCI_MASK; in bnxt_tpa_end() local 1623 __vlan_hwaccel_put_tag(skb, htons(vlan_proto), vtag); in bnxt_tpa_end() 1834 u16 vtag = meta_data & RX_CMP_FLAGS2_METADATA_TCI_MASK; in bnxt_rx_pkt() local 1837 __vlan_hwaccel_put_tag(skb, htons(vlan_proto), vtag); in bnxt_rx_pkt()
|