/freebsd-11-stable/sys/dev/oce/ |
H A D | oce_if.c | 130 uint16_t vtag; member in struct:oce_common_cqe_info 174 static void oce_add_vlan(void *arg, struct ifnet *ifp, uint16_t vtag); 175 static void oce_del_vlan(void *arg, struct ifnet *ifp, uint16_t vtag); 1642 cq_info.vtag = cqe->vlan_tag; 1651 cq_info.vtag = cqe2->vlan_tag; 1659 cq_info.vtag = BSWAP_16(cq_info.vtag); 1688 m->m_pkthdr.ether_vtag = cq_info.vtag; 1691 } else if (sc->pvid != (cq_info.vtag & VLAN_VID_MASK)) { 1696 m->m_pkthdr.ether_vtag = cq_info.vtag; 1720 uint16_t vtag = 0; local 2224 oce_add_vlan(void *arg, struct ifnet *ifp, uint16_t vtag) argument 2241 oce_del_vlan(void *arg, struct ifnet *ifp, uint16_t vtag) argument [all...] |
/freebsd-11-stable/sys/dev/ixl/ |
H A D | ixl_pf_main.c | 3002 ixl_register_vlan(void *arg, struct ifnet *ifp, u16 vtag) argument 3011 if ((vtag == 0) || (vtag > 4095)) /* Invalid */ 3016 ixl_add_filter(vsi, hw->mac.addr, vtag); 3026 ixl_unregister_vlan(void *arg, struct ifnet *ifp, u16 vtag) argument 3035 if ((vtag == 0) || (vtag > 4095)) /* Invalid */ 3040 ixl_del_filter(vsi, hw->mac.addr, vtag);
|
H A D | ixl_txrx.c | 325 u16 vtag = 0; local 412 vtag = htole16(m_head->m_pkthdr.ether_vtag); 430 | ((u64)vtag << I40E_TXD_QW1_L2TAG1_SHIFT)); 1725 u16 hlen, plen, vtag; local 1763 vtag = le16toh(cur->wb.qword0.lo_dword.l2tag1); 1765 vtag = 0; 1850 if (vtag) { 1851 sendmp->m_pkthdr.ether_vtag = vtag; 1895 if (vtag) { 1896 sendmp->m_pkthdr.ether_vtag = vtag; [all...] |
H A D | if_ixlv.c | 1855 ixlv_register_vlan(void *arg, struct ifnet *ifp, u16 vtag) argument 1865 if ((vtag == 0) || (vtag > 4095)) /* Invalid */ 1870 if (v->vlan == vtag) 1878 v->vlan = vtag; 1892 ixlv_unregister_vlan(void *arg, struct ifnet *ifp, u16 vtag) argument 1902 if ((vtag == 0) || (vtag > 4095)) /* Invalid */ 1907 if (v->vlan == vtag) {
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 1306 ipoib_config_vlan(void *arg, struct ifnet *ifp, u_int16_t vtag) argument 1316 dev = VLAN_DEVAT(ifp, vtag); 1323 if (vtag & 0x8000) 1325 pkey = vtag | 0x8000; /* Set full membership bit. */ 1368 "failed to initialize subinterface: device %s, port %d vtag 0x%X", 1369 parent->ca->name, parent->port, vtag); 1374 ipoib_unconfig_vlan(void *arg, struct ifnet *ifp, u_int16_t vtag) argument 1384 dev = VLAN_DEVAT(ifp, vtag); 1387 pkey = vtag | 0x8000;
|
/freebsd-11-stable/sys/netinet/ |
H A D | sctp_output.c | 5855 uint32_t vtag, itsn; local 5861 vtag = sctp_select_a_tag(inp, inp->sctp_lport, sh->src_port, 1); 5862 if ((asoc->peer_supports_nat) && (vtag == asoc->my_vtag)) { 5864 * Got a duplicate vtag on some guy behind a 5869 initack->init.initiate_tag = htonl(vtag); 5878 vtag = sctp_select_a_tag(inp, inp->sctp_lport, sh->src_port, 1); 5879 initack->init.initiate_tag = htonl(vtag); 10944 uint32_t vtag; local 11003 vtag = stcb->asoc.my_vtag; 11006 vtag 11044 uint32_t vtag; local 11086 sctp_send_resp_msg(struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, uint32_t vtag, uint8_t type, struct mbuf *cause, uint8_t mflowtype, uint32_t mflowid, uint16_t fibnum, uint32_t vrf_id, uint16_t port) argument 12339 sctp_send_abort(struct mbuf *m, int iphlen, struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, uint32_t vtag, struct mbuf *cause, uint8_t mflowtype, uint32_t mflowid, uint16_t fibnum, uint32_t vrf_id, uint16_t port) argument 12357 sctp_send_operr_to(struct sockaddr *src, struct sockaddr *dst, struct sctphdr *sh, uint32_t vtag, struct mbuf *cause, uint8_t mflowtype, uint32_t mflowid, uint16_t fibnum, uint32_t vrf_id, uint16_t port) argument [all...] |
H A D | sctputil.c | 4073 uint32_t vtag; local 4078 vtag = 0; 4080 vtag = stcb->asoc.peer_vtag; 4083 sctp_send_abort(m, iphlen, src, dst, sh, vtag, op_err, 5720 entry->vtag = control->sinfo_assoc_id;
|
H A D | sctp_pcb.c | 2140 sctp_findassoc_by_vtag(struct sockaddr *from, struct sockaddr *to, uint32_t vtag, argument 2145 * Use my vtag to hash. If we find it we then verify the source addr 2154 head = &SCTP_BASE_INFO(sctp_asochash)[SCTP_PCBHASH_ASOC(vtag, 2168 if (stcb->asoc.my_vtag == vtag) { 2251 /* we only go down this path if vtag is non-zero */ 2299 * if the lookup address is 0.0.0.0 or ::0, use the vtag to do the lookup 4375 /* put it in the bucket in the vtag hash of assoc's for the system */ 4936 /* pull from vtag hash */
|
H A D | sctp_asconf.c | 3292 struct sctp_asconf_tag_param *vtag; local 3324 vtag = (struct sctp_asconf_tag_param *)&aa->ap.aph; 3325 vtag->aph.ph.param_type = SCTP_NAT_VTAGS; 3326 vtag->aph.ph.param_length = sizeof(struct sctp_asconf_tag_param); 3327 vtag->local_vtag = htonl(stcb->asoc.my_vtag); 3328 vtag->remote_vtag = htonl(stcb->asoc.peer_vtag);
|
H A D | sctp_cc_functions.c | 253 uint64_t rtt_offset, uint64_t vtag, uint8_t inst_ind) 266 vtag, 287 vtag, 311 vtag, 323 vtag, 354 vtag, 388 uint64_t vtag, uint8_t inst_ind) 403 vtag, 421 vtag, 434 vtag, 252 cc_bw_same(struct sctp_tcb *stcb, struct sctp_nets *net, uint64_t nbw, uint64_t rtt_offset, uint64_t vtag, uint8_t inst_ind) argument 387 cc_bw_decrease(struct sctp_tcb *stcb, struct sctp_nets *net, uint64_t nbw, uint64_t rtt_offset, uint64_t vtag, uint8_t inst_ind) argument 528 cc_bw_increase(struct sctp_tcb *stcb, struct sctp_nets *net, uint64_t nbw, uint64_t vtag) argument 574 uint64_t probepoint, rtt, vtag; local 803 uint64_t vtag, probepoint; local 1346 uint64_t vtag, probepoint; local 1409 uint64_t vtag, probepoint; local [all...] |
/freebsd-11-stable/sys/dev/e1000/ |
H A D | if_em.c | 5069 em_register_vlan(void *arg, if_t ifp, u16 vtag) argument 5077 if ((vtag == 0) || (vtag > 4095)) /* Invalid ID */ 5081 index = (vtag >> 5) & 0x7F; 5082 bit = vtag & 0x1F; 5096 em_unregister_vlan(void *arg, if_t ifp, u16 vtag) argument 5104 if ((vtag == 0) || (vtag > 4095)) /* Invalid */ 5108 index = (vtag >> 5) & 0x7F; 5109 bit = vtag [all...] |
H A D | if_lem.c | 3935 lem_register_vlan(void *arg, if_t ifp, u16 vtag) argument 3943 if ((vtag == 0) || (vtag > 4095)) /* Invalid ID */ 3947 index = (vtag >> 5) & 0x7F; 3948 bit = vtag & 0x1F; 3962 lem_unregister_vlan(void *arg, if_t ifp, u16 vtag) argument 3970 if ((vtag == 0) || (vtag > 4095)) /* Invalid */ 3974 index = (vtag >> 5) & 0x7F; 3975 bit = vtag [all...] |
H A D | if_igb.c | 3786 u16 vtag = 0, eh_type; local 3857 vtag = htole16(mp->m_pkthdr.ether_vtag); 3858 vlan_macip_lens |= (vtag << E1000_ADVTXD_VLAN_SHIFT); 3912 u16 vtag = 0; local 3930 vtag = htole16(mp->m_pkthdr.ether_vtag); 3931 vlan_macip_lens |= (vtag << E1000_ADVTXD_VLAN_SHIFT); 5007 u16 hlen, plen, hdr, vtag, pkt_info; local 5025 vtag = be16toh(cur->wb.upper.vlan); 5027 vtag = le16toh(cur->wb.upper.vlan); 5126 rxr->fmp->m_pkthdr.ether_vtag = vtag; 5279 igb_register_vlan(void *arg, struct ifnet *ifp, u16 vtag) argument 5306 igb_unregister_vlan(void *arg, struct ifnet *ifp, u16 vtag) argument [all...] |
/freebsd-11-stable/sys/net/ |
H A D | if_lagg.c | 426 lagg_register_vlan(void *arg, struct ifnet *ifp, u_int16_t vtag) argument 436 EVENTHANDLER_INVOKE(vlan_config, lp->lp_ifp, vtag); 445 lagg_unregister_vlan(void *arg, struct ifnet *ifp, u_int16_t vtag) argument 455 EVENTHANDLER_INVOKE(vlan_unconfig, lp->lp_ifp, vtag);
|
H A D | iflib.c | 2795 printf("pi new_pidx: %d csum_flags: %lx tso_segsz: %d mflags: %x vtag: %d\n", 4163 iflib_vlan_register(void *arg, if_t ifp, uint16_t vtag) argument 4170 if ((vtag == 0) || (vtag > 4095)) 4177 IFDI_VLAN_REGISTER(ctx, vtag); 4185 iflib_vlan_unregister(void *arg, if_t ifp, uint16_t vtag) argument 4192 if ((vtag == 0) || (vtag > 4095)) 4199 IFDI_VLAN_UNREGISTER(ctx, vtag);
|
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw2.c | 496 * is given by vtag. The T-bit is set in the ABORT chunk if and only if 501 ipfw_send_abort(struct mbuf *replyto, struct ipfw_flow_id *id, u_int32_t vtag, argument 585 sctp->v_tag = htonl(vtag);
|
/freebsd-11-stable/sys/dev/bnxt/ |
H A D | if_bnxt.c | 189 static void bnxt_vlan_register(if_ctx_t ctx, uint16_t vtag); 190 static void bnxt_vlan_unregister(if_ctx_t ctx, uint16_t vtag); 1553 bnxt_vlan_register(if_ctx_t ctx, uint16_t vtag) argument 1561 new_tag->tag = vtag; 1567 bnxt_vlan_unregister(if_ctx_t ctx, uint16_t vtag) argument 1573 if (vlan_tag->tag == vtag) {
|
/freebsd-11-stable/sys/dev/cxgbe/tom/ |
H A D | t4_tom.c | 832 prepare_pkt(int open_type, uint16_t vtag, struct inpcb *inp, int *pktlen, argument 852 if (vtag == 0xffff) { 865 evh->evl_tag = htons(vtag); 925 uint16_t vtag, struct inpcb *inp) 971 pkt = prepare_pkt(open_type, vtag, inp, &pktlen, &buflen); 924 lookup_offload_policy(struct adapter *sc, int open_type, struct mbuf *m, uint16_t vtag, struct inpcb *inp) argument
|
/freebsd-11-stable/sys/dev/ixgbe/ |
H A D | if_ix.c | 1704 ixgbe_register_vlan(void *arg, struct ifnet *ifp, u16 vtag) argument 1712 if ((vtag == 0) || (vtag > 4095)) /* Invalid */ 1716 index = (vtag >> 5) & 0x7F; 1717 bit = vtag & 0x1F; 1730 ixgbe_unregister_vlan(void *arg, struct ifnet *ifp, u16 vtag) argument 1738 if ((vtag == 0) || (vtag > 4095)) /* Invalid */ 1742 index = (vtag >> 5) & 0x7F; 1743 bit = vtag [all...] |
H A D | ix_txrx.c | 715 u16 vtag = 0; local 740 vtag = htole16(mp->m_pkthdr.ether_vtag); 741 vlan_macip_lens |= (vtag << IXGBE_ADVTXD_VLAN_SHIFT); 879 u16 vtag = 0, eh_type; local 938 vtag = htole16(mp->m_pkthdr.ether_vtag); 939 vlan_macip_lens |= (vtag << IXGBE_ADVTXD_VLAN_SHIFT); 1676 u16 vtag = 0; local 1808 vtag = le16toh(cur->wb.upper.vlan); 1809 if (vtag) { 1810 sendmp->m_pkthdr.ether_vtag = vtag; [all...] |
H A D | if_ixv.c | 1589 ixv_register_vlan(void *arg, struct ifnet *ifp, u16 vtag) argument 1597 if ((vtag == 0) || (vtag > 4095)) /* Invalid */ 1601 index = (vtag >> 5) & 0x7F; 1602 bit = vtag & 0x1F; 1617 ixv_unregister_vlan(void *arg, struct ifnet *ifp, u16 vtag) argument 1625 if ((vtag == 0) || (vtag > 4095)) /* Invalid */ 1629 index = (vtag >> 5) & 0x7F; 1630 bit = vtag [all...] |
/freebsd-11-stable/sys/dev/vmware/vmxnet3/ |
H A D | vmx_netmap.h | 125 txd->vtag = 0;
|
H A D | if_vmx.c | 2107 m->m_pkthdr.ether_vtag = rxcd->vtag; 2916 txd->vtag = 0; 2929 sop->vtag = m->m_pkthdr.ether_vtag;
|
/freebsd-11-stable/sys/dev/nfe/ |
H A D | if_nfereg.h | 257 uint32_t vtag; member in struct:nfe_desc64
|
H A D | if_nfe.c | 2120 uint32_t vtag = 0; local 2128 for (prog = 0;;NFE_INC(sc->rxq.cur, NFE_RX_RING_COUNT), vtag = 0) { 2137 vtag = le32toh(desc64->physaddr[1]); 2185 if ((vtag & NFE_RX_VTAG) != 0 && 2187 m->m_pkthdr.ether_vtag = vtag & 0xffff; 2235 uint32_t vtag = 0; local 2244 vtag = 0) { 2253 vtag = le32toh(desc64->physaddr[1]); 2301 if ((vtag & NFE_RX_VTAG) != 0 && 2303 m->m_pkthdr.ether_vtag = vtag [all...] |