Searched refs:vlan (Results 1 - 25 of 121) sorted by relevance

12345

/freebsd-10.0-release/contrib/wpa/src/ap/
H A Dvlan_init.c377 Add a vlan interface with VLAN ID 'vid' and tagged interface
407 /* Determine if a suitable vlan device already exists. */
409 os_snprintf(if_request.device1, sizeof(if_request.device1), "vlan%d",
431 /* A suitable vlan device does not already exist, add one. */
487 struct hostapd_vlan *vlan = hapd->conf->vlan; local
493 while (vlan) {
494 if (os_strcmp(ifname, vlan->ifname) == 0) {
497 vlan->vlan_id);
500 vlan
543 struct hostapd_vlan *first, *prev, *vlan = hapd->conf->vlan; local
784 vlan_dynamic_add(struct hostapd_data *hapd, struct hostapd_vlan *vlan) argument
810 vlan_dynamic_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan) argument
857 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, int vlan_id) argument
911 struct hostapd_vlan *vlan; local
[all...]
H A Dvlan_init.h23 struct hostapd_vlan *vlan,
40 struct hostapd_vlan *vlan,
39 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, int vlan_id) argument
H A Dsta_info.c656 struct hostapd_vlan *vlan = NULL; local
660 * Do not proceed furthur if the vlan id remains same. We do not want
661 * duplicate dynamic vlan entries.
667 * During 1x reauth, if the vlan id changes, then remove the old id and
674 if (sta->ssid->vlan[0])
675 iface = sta->ssid->vlan;
680 vlan = hapd->conf->vlan;
681 while (vlan) {
682 if (vlan
[all...]
H A Dap_config.c25 struct hostapd_vlan *vlan, *prev; local
27 vlan = bss->vlan;
29 while (vlan) {
30 prev = vlan;
31 vlan = vlan->next;
35 bss->vlan = NULL;
597 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) argument
599 struct hostapd_vlan *v = vlan;
[all...]
/freebsd-10.0-release/sys/dev/etherswitch/ip17x/
H A Dip17x_vlans.c62 /* Do not add or strip vlan tags on any port. */
66 /* Reset all vlan data. */
67 memset(sc->vlan, 0, sizeof(sc->vlan));
76 v = &sc->vlan[i];
89 * Setup vlan 1 as PVID for all switch ports. Add all ports as
90 * members of vlan 1.
92 v = &sc->vlan[0];
117 vg->es_vid = sc->vlan[vg->es_vlangroup].vlanid;
124 if ((sc->vlan[v
[all...]
H A Dip17x_var.h63 struct ip17x_vlan vlan[IP17X_MAX_VLANS]; member in struct:ip17x_softc
/freebsd-10.0-release/sys/netgraph/
H A Dng_vlan.h35 /* Using "vlan" in addfilter and gettable messages. 2012.01 */
39 #define NG_VLAN_NODE_TYPE "vlan"
67 uint16_t vlan; /* VLAN - same as vid, oldname, deprecated. */ member in struct:ng_vlan_filter
78 { "vlan", &ng_parse_uint16_type }, \
H A Dng_vlan.c193 NETGRAPH_INIT(vlan, &ng_vlan_typestruct);
279 if (vf->vid == 0 && vf->vid != vf->vlan) {
280 vf->vid = vf->vlan;
281 } else if (vf->vid != 0 && vf->vlan != 0 &&
282 vf->vid != vf->vlan) {
315 /* Link vlan and hook together. */
417 vf->vlan = i;
568 * VLAN filter: allways remove vlan tags and
/freebsd-10.0-release/sys/dev/cxgbe/
H A Dt4_l2t.c131 req->vlan = htons(e->vlan);
169 t4_l2t_set_switching(struct adapter *sc, struct l2t_entry *e, uint16_t vlan, argument
174 e->vlan = vlan;
254 return e->vlan >> 13;
317 e->vlan & 0xfff, vlan_prio(e), e->lport,
H A Dt4_l2t.h66 uint16_t vlan; /* VLAN TCI (id: 0-11, prio: 13-15) */ member in struct:l2t_entry
H A Dt4_ioctl.h158 uint16_t vlan; /* VLAN tag */ member in struct:t4_filter_tuple
194 uint16_t vlan; /* VLAN Tag to insert */ member in struct:t4_filter_specification
/freebsd-10.0-release/contrib/ofed/libmlx4/src/
H A Dwqe.h82 uint16_t vlan; member in struct:mlx4_wqe_datagram_seg
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/tests/
H A Dlink_test.c80 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) argument
/freebsd-10.0-release/sys/dev/ixgbe/
H A Dixgbe_82598.h43 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on);
H A Dixgbe_common.h133 s32 ixgbe_set_vfta_generic(struct ixgbe_hw *hw, u32 vlan,
135 s32 ixgbe_set_vlvf_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind,
138 s32 ixgbe_find_vlvf_slot(struct ixgbe_hw *hw, u32 vlan);
/freebsd-10.0-release/sys/modules/netgraph/
H A DMakefile55 vlan
/freebsd-10.0-release/sys/boot/powerpc/ps3/
H A Dps3net.c68 static int vlan; variable
135 if (vlan >= 0) {
139 ((uint8_t *)txbuf)[14] = vlan >> 8;
140 ((uint8_t *)txbuf)[15] = vlan & 0xff;
260 vlan = -1;
264 vlan = val;
/freebsd-10.0-release/sys/mips/adm5120/
H A Dif_admsw.c600 static int vlan = 0; local
608 vlan++;
609 if (vlan == SW_DEVS)
610 vlan = 0;
611 i = vlan;
624 if (i == vlan)
627 vlan = i;
706 desc->status = (len << ADM5120_DMA_LENSHIFT) | (1 << vlan);
749 int vlan; local
775 for (vlan
896 int i, vlan; local
966 int i, len, port, vlan; local
[all...]
/freebsd-10.0-release/sys/arm/conf/
H A DDOCKSTAR61 device vlan
H A DSHEEVAPLUG61 device vlan
/freebsd-10.0-release/sys/dev/ae/
H A Dif_aevar.h58 uint16_t vlan; member in struct:ae_txd
71 uint16_t vlan; member in struct:ae_rxd
/freebsd-10.0-release/sys/dev/cxgb/ulp/tom/
H A Dcxgb_l2t.h63 uint16_t vlan; /* VLAN TCI (id: bits 0-11, prio: 13-15 */ member in struct:l2t_entry
/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/
H A Dport.c327 int __mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, argument
337 /* No free vlan entries */
349 (vlan == (MLX4_VLAN_MASK &
365 table->entries[free] = cpu_to_be32(vlan | MLX4_VLAN_VALID);
369 mlx4_warn(dev, "Failed adding vlan: %u\n", vlan);
382 int mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index) argument
387 if (vlan > 4095)
391 err = mlx4_cmd_imm(dev, vlan, &out_param,
400 return __mlx4_register_vlan(dev, port, vlan, inde
404 __mlx4_unregister_vlan(struct mlx4_dev *dev, u8 port, u16 vlan) argument
433 mlx4_unregister_vlan(struct mlx4_dev *dev, u8 port, u16 vlan) argument
[all...]
/freebsd-10.0-release/sys/powerpc/conf/
H A DMPC85XX90 device vlan
/freebsd-10.0-release/sys/net/
H A Dif_ethersubr.c634 * re-entry (e.g. bridge, vlan, netgraph) but should not be
1255 struct ether_vlan_header vlan; local
1259 ("%s: vlan information not present", __func__));
1262 bcopy(mtod(m, char *), &vlan, sizeof(struct ether_header)); local
1263 vlan.evl_proto = vlan.evl_encap_proto;
1264 vlan.evl_encap_proto = htons(ETHERTYPE_VLAN);
1265 vlan.evl_tag = htons(m->m_pkthdr.ether_vtag);
1273 * (2) mbuf #2 will contain the vlan header
1276 * Otherwise, submit the packet and vlan heade
[all...]

Completed in 575 milliseconds

12345