Home
last modified time | relevance | path

Searched refs:vtag (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.4/net/netfilter/
Dnf_conntrack_proto_sctp.c295 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/
Doutput.c73 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()
Dsm_statefuns.c334 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 …]
Dinput.c483 __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()
Doutqueue.c766 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()
Dsm_make_chunk.c1770 if (ntohl(chunk->sctp_hdr->vtag) != bear_cookie->my_vtag) { in sctp_unpack_cookie()
/Linux-v5.4/include/linux/netfilter/
Dnf_conntrack_sctp.h11 __be32 vtag[IP_CT_DIR_MAX]; member
/Linux-v5.4/include/net/sctp/
Dsm.h380 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()
Dstructs.h709 __u32 vtag; member
739 void sctp_packet_config(struct sctp_packet *, __u32 vtag, int);
/Linux-v5.4/drivers/net/ethernet/tehuti/
Dtehuti.h323 #define TXD_W1_VAL(bc, checksum, vtag, lgsnd, vlan_id) \ argument
324 ((bc) | ((checksum)<<5) | ((vtag)<<8) | \
/Linux-v5.4/include/linux/
Dsctp.h48 __be32 vtag; member
/Linux-v5.4/drivers/net/ethernet/atheros/atl1e/
Datl1e.h220 u16 vtag; member
Datl1e_main.c1457 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/
Datl2.h304 unsigned short vtag; /* vlan tag */ member
Datl2.c436 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/
Di40iw_cm.c391 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/
Damd8111e.c688 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/
Dlio_core.c580 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/
Dcpsw.c412 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/
Dbnxt.c1621 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()