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

12345

/freebsd-9.3-release/contrib/wpa/src/ap/
H A Dvlan_init.c373 Add a vlan interface with VLAN ID 'vid' and tagged interface
403 /* Determine if a suitable vlan device already exists. */
405 os_snprintf(if_request.device1, sizeof(if_request.device1), "vlan%d",
427 /* A suitable vlan device does not already exist, add one. */
481 struct hostapd_vlan *vlan = hapd->conf->vlan; local
486 while (vlan) {
487 if (os_strcmp(ifname, vlan->ifname) == 0) {
490 vlan->vlan_id);
493 vlan
527 struct hostapd_vlan *first, *prev, *vlan = hapd->conf->vlan; local
753 vlan_dynamic_add(struct hostapd_data *hapd, struct hostapd_vlan *vlan) argument
779 vlan_dynamic_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan) argument
826 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, int vlan_id) argument
880 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.c542 struct hostapd_vlan *vlan = NULL; local
546 * Do not proceed furthur if the vlan id remains same. We do not want
547 * duplicate dynamic vlan entries.
553 * During 1x reauth, if the vlan id changes, then remove the old id and
560 if (sta->ssid->vlan[0])
561 iface = sta->ssid->vlan;
566 vlan = hapd->conf->vlan;
567 while (vlan) {
568 if (vlan
[all...]
H A Dap_config.c31 struct hostapd_vlan *vlan, *prev; local
33 vlan = bss->vlan;
35 while (vlan) {
36 prev = vlan;
37 vlan = vlan->next;
41 bss->vlan = NULL;
523 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan, int vlan_id) argument
525 struct hostapd_vlan *v = vlan;
[all...]
H A Dap_config.h60 char vlan[IFNAMSIZ + 1]; member in struct:hostapd_ssid
275 struct hostapd_vlan *vlan, *vlan_tail; member in struct:hostapd_bss_config
390 const char * hostapd_get_vlan_id_ifname(struct hostapd_vlan *vlan,
/freebsd-9.3-release/sys/netgraph/
H A Dng_vlan.h35 #define NG_VLAN_NODE_TYPE "vlan"
52 u_int16_t vlan; member in struct:ng_vlan_filter
58 { "vlan", &ng_parse_uint16_type }, \
H A Dng_vlan.c127 NETGRAPH_INIT(vlan, &ng_vlan_typestruct);
131 u_int16_t vlan; member in struct:filter
147 ng_vlan_findentry(priv_p priv, u_int16_t vlan) argument
149 struct filterhead *chain = &priv->hashtable[HASH(vlan)];
153 if (f->vlan == vlan)
215 if (vf->vlan & ~EVL_VLID_MASK) {
237 if (ng_vlan_findentry(priv, vf->vlan)) {
250 f->vlan = vf->vlan;
344 u_int16_t vlan; local
[all...]
/freebsd-9.3-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.h156 uint16_t vlan; /* VLAN tag */ member in struct:t4_filter_tuple
192 uint16_t vlan; /* VLAN Tag to insert */ member in struct:t4_filter_specification
/freebsd-9.3-release/contrib/ofed/libmlx4/src/
H A Dwqe.h82 uint16_t vlan; member in struct:mlx4_wqe_datagram_seg
/freebsd-9.3-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-9.3-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-9.3-release/sys/modules/netgraph/
H A DMakefile55 vlan
/freebsd-9.3-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-9.3-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-9.3-release/sys/arm/conf/
H A DDOCKSTAR62 device vlan
H A DSHEEVAPLUG61 device vlan
/freebsd-9.3-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-9.3-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-9.3-release/sys/powerpc/conf/
H A DMPC85XX91 device vlan
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-wqe.h139 /**< use this to get at the 16 vlan bits */
143 uint64_t vlan :16; member in struct:__anon6670::__anon6672
/freebsd-9.3-release/sys/ofed/drivers/net/mlx4/
H A Dport.c214 int mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index) argument
228 (vlan == (MLX4_VLAN_MASK &
243 /* No free vlan entries */
250 table->entries[free] = cpu_to_be32(vlan | MLX4_VLAN_VALID);
254 mlx4_warn(dev, "Failed adding vlan: %u\n", vlan);
273 mlx4_warn(dev, "Trying to free special vlan index %d\n", index);
279 mlx4_warn(dev, "No vlan entry for index %d\n", index);
284 "no need to modify vlan table\n", index);
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Dud_header.c108 { STRUCT_FIELD(vlan, tag),
112 { STRUCT_FIELD(vlan, type),
220 * @vlan_present: packet is tagged vlan
344 &header->vlan, buf + len);

Completed in 192 milliseconds

12345