/src/sbin/ifconfig/ |
vlan.c | 1 /* $NetBSD: vlan.c,v 1.16 2021/06/21 03:14:40 christos Exp $ */ 34 __RCSID("$NetBSD: vlan.c,v 1.16 2021/06/21 03:14:40 christos Exp $"); 66 struct pinteger vlantag = PINTEGER_INITIALIZER1(&vlantag, "VLAN tag", 73 {.k_word = "vlan", .k_nextparser = &vlantag.pi_parser} 80 struct pkw vlan = PKW_INITIALIZER(&vlan, "vlan", NULL, NULL, variable in typeref:struct:pkw 91 return strncmp(ifname, "vlan", 4) != 0 || 103 errx(EXIT_FAILURE, "valid only with vlan(4) interfaces"); 178 fprintf(stderr, "\t[ vlan n vlanif i ] [ -vlanif i ]\n") [all...] |
/src/sys/dev/pci/cxgb/ |
cxgb_l2t.h | 63 uint16_t vlan; /* VLAN TCI (id: bits 0-11, prio: 13-15 */ member in struct:l2t_entry
|
cxgb_ioctl.h | 140 uint16_t vlan:12; member in struct:ch_filter_tuple 213 uint32_t vlan:12, member in struct:ch_trace
|
cxgb_main.c | 164 u32 vlan:12; member in struct:filter_info
|
cxgb_common.h | 411 u32 vlan:12; member in struct:trace_params
|
cxgb_t3_cpl.h | 1239 __be16 vlan; member in struct:cpl_rx_pkt
|
/src/sys/arch/mips/adm5120/dev/ |
if_admsw.c | 544 static int vlan = 0; local in function:admsw_start 552 vlan++; 553 if (vlan == SW_DEVS) 554 vlan = 0; 555 i = vlan; 567 if (i == vlan) 570 vlan = i; 652 desc->status = (len << ADM5120_DMA_LENSHIFT) | (1 << vlan); 694 int vlan; local in function:admsw_watchdog 720 for (vlan = 0; vlan < SW_DEVS; vlan++ 840 int i, vlan; local in function:admsw_txintr 910 int i, len, port, vlan; local in function:admsw_rxintr [all...] |
/src/sys/dev/pci/igc/ |
igc_base.h | 56 #define IGC_ADVTXD_DCMD_VLE 0x40000000 /* VLAN pkt enable */ 72 #define IGC_ADVTXD_VLAN_SHIFT 16 /* Adv ctxt vlan tag shift */ 119 uint16_t vlan; /* VLAN tag */ member in struct:igc_adv_rx_desc::__anon0ef01bb90508::__anon0ef01bb90b08
|
igc_hw.h | 15 #include "vlan.h" 163 uint16_t vlan; /* VLAN tag */ member in struct:igc_rx_desc_extended::__anonb418ff9d0208::__anonb418ff9d0608
|
/src/sys/dev/pci/ |
if_vmxreg.h | 54 #define UPT1_F_VLAN 0x0004 /* VLAN tag stripping */ 76 #define VMXNET3_CMD_VLAN_FILTER 0xcafe0005 /* set VLAN filter */ 103 uint32_t vtag_mode:1; /* VLAN tag insertion mode */ 104 uint32_t vtag:16; /* VLAN tag */ 154 uint32_t vlan:1; /* 802.1Q VLAN frame */ member in struct:vmxnet3_rxcompdesc 155 uint32_t vtag:16; /* VLAN tag */
|
if_ixlvar.h | 458 uint16_t vlan; member in struct:ixl_aq_add_macvlan_elem 477 uint16_t vlan; member in struct:ixl_aq_remove_macvlan_elem 523 /* vlan section */ 617 uint16_t vlan; member in struct:ixl_aq_vsi_promisc_param
|
if_aq.c | 104 /* minimum required to send a packet (vlan needs additional TX descriptor) */ 1186 uint16_t vlan; member in struct:aq_rx_desc_wb 3976 /* Vlan filters */ 4352 /* disable all vlan filters */ 4372 * no vlan hwfilter, in promiscuous mode, or too many VID? 4397 * If you want to fix the ring (CPU) for each VLAN ID, 5336 * +1 is additional descriptor for context (vlan, etc,.) 5516 rxd_vlan = le16toh(rxd->wb.vlan); 5577 /* VLAN offloading */ 5720 /* vlan configuration depends on also interface promiscuous mode * [all...] |
/src/sys/dev/hyperv/ |
if_hvn.c | 1496 * Trim VLAN tag from header. 1553 uint32_t vlan; local in function:hvn_encap 1558 vlan = NDIS_VLAN_INFO_MAKE(EVL_VLANOFTAG(tag), 1562 memcpy(cp, &vlan, NDIS_VLAN_INFO_SIZE); 1693 * Restore a VLAN tag for bpf. 1831 NULL, rxr->rxr_name, "VLAN H/W tagging"); 1983 NULL, txr->txr_name, "VLAN fixup"); 1985 NULL, txr->txr_name, "VLAN H/W tagging"); 1987 NULL, txr->txr_name, "VLAN bpf_mtap fixup"); 4719 uint32_t mask, csum, vlan, hashval, hashinfo local in function:hvn_rxeof [all...] |
/src/sys/dev/pci/ixgbe/ |
ixgbe_type.h | 458 /* array of 4096 1-bit vlan filters */ 460 /*array of 4096 4-bit vlan vmdq indices */ 578 #define IXGBE_DMATXCTL_GDV 0x8 /* Global Double VLAN */ 581 #define IXGBE_DMATXCTL_VT_SHIFT 16 /* VLAN EtherType */ 1852 #define IXGBE_VMOLR_VPE 0x00800000 /* VLAN promiscuous */ 2071 #define IXGBE_IMIRVP_PRIORITY_MASK 0x00000007 /* VLAN priority mask */ 2072 #define IXGBE_IMIRVP_PRIORITY_EN 0x00000008 /* VLAN priority enable */ 2149 /* VLAN Control Bit Masks */ 2156 /* VLAN pool filtering masks */ 2160 /* Per VF Port VLAN insertion rules * 3352 __le16 vlan; member in struct:ixgbe_legacy_tx_desc::__anoncb0dc0f8050a::__anoncb0dc0f80608 3378 __le16 vlan; member in struct:ixgbe_legacy_rx_desc 3407 __le16 vlan; \/* VLAN tag *\/ member in struct:ixgbe_adv_rx_desc::__anoncb0dc0f80a08::__anoncb0dc0f81008 [all...] |