Searched refs:vtag (Results 26 - 41 of 41) sorted by relevance

12

/freebsd-11-stable/sys/dev/vmware/vmxnet3/
H A Dvmx_netmap.h125 txd->vtag = 0;
H A Dif_vmx.c2107 m->m_pkthdr.ether_vtag = rxcd->vtag;
2916 txd->vtag = 0;
2929 sop->vtag = m->m_pkthdr.ether_vtag;
/freebsd-11-stable/sys/netinet/
H A Dsctp_pcb.h135 uint32_t v_tag; /* the vtag that can not be reused */
136 uint16_t lport; /* the local port used in vtag */
137 uint16_t rport; /* the remote port used in vtag */
347 uint32_t vtag; member in struct:sctp_pcbtsn_rlog
454 LIST_ENTRY(sctp_tcb) sctp_asocs; /* vtag hash list */
H A Dsctp_output.c5855 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 Dsctputil.c4073 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 Dsctp_pcb.c2140 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 */
/freebsd-11-stable/sys/net/
H A Dif_lagg.c426 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 Diflib.c2795 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/dev/ale/
H A Dif_ale.c1612 uint32_t cflags, hdrlen, ip_off, poff, vtag; local
1622 cflags = vtag = 0;
1811 vtag = ALE_TX_VLAN_TAG(m->m_pkthdr.ether_vtag);
1812 vtag = ((vtag << ALE_TD_VLAN_SHIFT) & ALE_TD_VLAN_MASK);
1825 desc->len = htole32(ALE_TX_BYTES(hdrlen) | vtag);
1834 vtag);
1844 desc->len = htole32(ALE_TX_BYTES(txsegs[i].ds_len) | vtag);
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_sctp.c152 static void logsctperror(char* errormsg, uint32_t vtag, int error, int direction);
218 #define SN_VTAG_PARAM_SIZE 12 /**< Size of SCTP ASCONF vtag param in bytes */
291 #define SN_TABLE_HASH(vtag, port, size) (((u_int) vtag + (u_int) port) % (u_int) size) /**< Calculate the hash table lookup position */
983 SN_LOG(SN_LOG_EVENT,SctpAliasLog("%s %s 0x%x (->%s:%u vtag=0x%x crc=0x%x)\n",
1100 if (sctp_hdr->v_tag == 0) { //Init requires vtag=0
1235 * @param l_vtag Pointer to the local vtag in the association this SCTP Message belongs to
1236 * @param g_vtag Pointer to the local vtag in the association this SCTP Message belongs to
1980 * @brief Find the SCTP association given the local address, port and vtag
1983 * provided local <address:ports:vtag> tupl
2501 logsctperror(char* errormsg, uint32_t vtag, int error, int direction) argument
[all...]
/freebsd-11-stable/sys/dev/e1000/
H A Dif_em.c5069 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...]
/freebsd-11-stable/sys/dev/ixl/
H A Dixl_pf_main.c3002 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);
/freebsd-11-stable/sys/dev/alc/
H A Dif_alcreg.h1204 uint32_t vtag; member in struct:rx_rdesc
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw2.c496 * 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/oce/
H A Doce_hw.h1219 uint16_t vtag; member in struct:normal_vlan
H A Doce_mbox.c594 fwcmd->params.req.vlan_tag.u0.normal.vtag = LE_16(vlan_tag);

Completed in 294 milliseconds

12