Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/
Dnf_conntrack_proto_sctp.c307 sh->vtag != ct->proto.sctp.vtag[dir]) { in sctp_packet()
318 if (sh->vtag != 0) in sctp_packet()
322 if (sh->vtag != ct->proto.sctp.vtag[dir] && in sctp_packet()
323 sh->vtag != ct->proto.sctp.vtag[!dir]) in sctp_packet()
327 if (sh->vtag != ct->proto.sctp.vtag[dir] && in sctp_packet()
328 sh->vtag != ct->proto.sctp.vtag[!dir] && in sctp_packet()
333 if (sh->vtag != ct->proto.sctp.vtag[dir]) in sctp_packet()
337 if (ct->proto.sctp.vtag[dir] == 0) { in sctp_packet()
339 sh->vtag, dir); in sctp_packet()
340 ct->proto.sctp.vtag[dir] = sh->vtag; in sctp_packet()
[all …]
/Linux-v4.19/net/sctp/
Doutput.c88 void sctp_packet_config(struct sctp_packet *packet, __u32 vtag, in sctp_packet_config() argument
96 pr_debug("%s: packet:%p vtag:0x%x\n", __func__, packet, vtag); in sctp_packet_config()
97 packet->vtag = vtag; in sctp_packet_config()
167 packet->vtag = 0; in sctp_packet_init()
611 sh->vtag = htonl(packet->vtag); in sctp_packet_transmit()
Dsm_statefuns.c349 if (chunk->sctp_hdr->vtag != 0) in sctp_sf_do_5_1B_init()
1491 if (chunk->sctp_hdr->vtag != 0) in sctp_sf_do_unexpected_init()
3389 packet->vtag = ntohl(chunk->sctp_hdr->vtag); in sctp_sf_tabort_8_4_8()
3653 packet->vtag = ntohl(chunk->sctp_hdr->vtag); in sctp_sf_shut_8_4_5()
4594 packet->vtag = ntohl(chunk->sctp_hdr->vtag); in sctp_sf_abort_violation()
6175 packet->vtag = ntohl(chunk->sctp_hdr->vtag); in sctp_abort_pkt_new()
6201 __u32 vtag; in sctp_ootb_pkt_new() local
6220 vtag = ntohl(initack->init_hdr.init_tag); in sctp_ootb_pkt_new()
6224 vtag = asoc->peer.i.init_tag; in sctp_ootb_pkt_new()
6237 vtag = ntohl(init->init_hdr.init_tag); in sctp_ootb_pkt_new()
[all …]
Dinput.c489 __u32 vtag = ntohl(sctphdr->vtag); in sctp_err_lookup() local
523 if (vtag == 0) { in sctp_err_lookup()
534 } else if (vtag != asoc->c.peer_vtag) { in sctp_err_lookup()
Doutqueue.c785 const __u32 vtag = asoc->peer.i.init_tag; in sctp_packet_singleton() local
789 sctp_packet_config(&singleton, vtag, 0); in sctp_packet_singleton()
932 ctx->packet->vtag = ctx->asoc->c.my_vtag; in sctp_outq_flush_ctrl()
Dsm_make_chunk.c1780 if (ntohl(chunk->sctp_hdr->vtag) != bear_cookie->my_vtag) { in sctp_unpack_cookie()
/Linux-v4.19/include/linux/netfilter/
Dnf_conntrack_sctp.h11 __be32 vtag[IP_CT_DIR_MAX]; member
/Linux-v4.19/include/net/sctp/
Dsm.h395 if (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag) in sctp_vtag_verify()
430 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag)) || in sctp_vtag_verify_either()
432 (ntohl(chunk->sctp_hdr->vtag) == asoc->c.peer_vtag))) { in sctp_vtag_verify_either()
Dstructs.h719 __u32 vtag; member
749 void sctp_packet_config(struct sctp_packet *, __u32 vtag, int);
/Linux-v4.19/drivers/net/ethernet/tehuti/
Dtehuti.h327 #define TXD_W1_VAL(bc, checksum, vtag, lgsnd, vlan_id) \ argument
328 ((bc) | ((checksum)<<5) | ((vtag)<<8) | \
/Linux-v4.19/include/linux/
Dsctp.h63 __be32 vtag; member
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/
Datl1e.h233 u16 vtag; member
Datl1e_main.c1468 u16 vlan_tag = (prrs->vtag >> 4) | in atl1e_clean_rx_irq()
1469 ((prrs->vtag & 7) << 13) | in atl1e_clean_rx_irq()
1470 ((prrs->vtag & 8) << 9); in atl1e_clean_rx_irq()
1473 prrs->vtag); in atl1e_clean_rx_irq()
/Linux-v4.19/drivers/net/ethernet/atheros/atlx/
Datl2.h317 unsigned short vtag; /* vlan tag */ member
Datl2.c450 u16 vlan_tag = (rxd->status.vtag>>4) | in atl2_intr_rx()
451 ((rxd->status.vtag&7) << 13) | in atl2_intr_rx()
452 ((rxd->status.vtag&8) << 9); in atl2_intr_rx()
/Linux-v4.19/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()
3140 u16 vtag; in i40iw_receive_ilq() local
3154 vtag = ntohs(ethh->h_vlan_TCI); in i40iw_receive_ilq()
3155 cm_info.user_pri = (vtag & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in i40iw_receive_ilq()
3156 cm_info.vlan_id = vtag & VLAN_VID_MASK; in i40iw_receive_ilq()
/Linux-v4.19/drivers/net/ethernet/amd/
Damd8111e.c701 short vtag; in amd8111e_rx_poll() local
729 vtag = status & TT_MASK; in amd8111e_rx_poll()
731 if (vtag != 0) in amd8111e_rx_poll()
766 if (vtag == TT_VLAN_TAGGED){ in amd8111e_rx_poll()
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Dlio_core.c602 u16 vtag = 0; in liquidio_push_packet() local
707 vtag = (priority << VLAN_PRIO_SHIFT) | vid; in liquidio_push_packet()
708 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vtag); in liquidio_push_packet()
/Linux-v4.19/drivers/net/ethernet/ti/
Dcpsw.c745 u16 vtag, vid, prio, pkt_type; in cpsw_rx_vlan_encap() local
773 vtag = (prio << VLAN_PRIO_SHIFT) | vid; in cpsw_rx_vlan_encap()
774 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vtag); in cpsw_rx_vlan_encap()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c1445 u16 vtag = tpa_info->metadata & RX_CMP_FLAGS2_METADATA_TCI_MASK; in bnxt_tpa_end() local
1447 __vlan_hwaccel_put_tag(skb, htons(vlan_proto), vtag); in bnxt_tpa_end()
1629 u16 vtag = meta_data & RX_CMP_FLAGS2_METADATA_TCI_MASK; in bnxt_rx_pkt() local
1632 __vlan_hwaccel_put_tag(skb, htons(vlan_proto), vtag); in bnxt_rx_pkt()