HomeSort by: relevance | last modified time | path
    Searched refs:vlan (Results 1 - 25 of 68) sorted by relevancy

1 2 3

  /src/external/bsd/wpa/dist/src/ap/
vlan_init.c 2 * hostapd / VLAN initialization
22 static int vlan_if_add(struct hostapd_data *hapd, struct hostapd_vlan *vlan,
33 "VLAN: Refusing to set up VLAN iface %s with WEP",
34 vlan->ifname);
39 if (!iface_exists(vlan->ifname))
40 ret = hostapd_vlan_if_add(hapd, vlan->ifname);
49 ifconfig_up(vlan->ifname); /* else wpa group will fail fatal */
52 ret = wpa_auth_ensure_group(hapd->wpa_auth, vlan->vlan_id);
57 wpa_printf(MSG_ERROR, "WPA initialization for VLAN %d failed (%d)"
143 struct hostapd_vlan *vlan; local
239 struct hostapd_vlan *vlan; local
    [all...]
vlan_init.h 2 * hostapd / VLAN initialization
17 struct hostapd_vlan *vlan,
32 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan,
vlan_full.c 2 * hostapd / VLAN initialization - full dynamic VLAN
122 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s down", if_name);
140 wpa_printf(MSG_DEBUG, "VLAN: br_delif(%s, %s)", br_name, if_name);
142 wpa_printf(MSG_ERROR, "VLAN: %s: socket(AF_INET,SOCK_STREAM) "
153 wpa_printf(MSG_ERROR, "VLAN: %s: Failure determining "
168 wpa_printf(MSG_ERROR, "VLAN: %s: ioctl[SIOCDEVPRIVATE,"
195 wpa_printf(MSG_DEBUG, "VLAN: br_addif(%s, %s)", br_name, if_name);
197 wpa_printf(MSG_ERROR, "VLAN: %s: socket(AF_INET,SOCK_STREAM) "
213 wpa_printf(MSG_ERROR, "VLAN: %s: Failure determining
464 struct hostapd_vlan *vlan; local
566 struct hostapd_vlan *first, *prev, *vlan = hapd->conf->vlan; local
    [all...]
vlan_util.h 2 * hostapd / VLAN netlink/ioctl api
23 int vlan_if_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan);
sta_info.c 40 #include "vlan.h"
374 * VLAN.
1141 struct hostapd_vlan *vlan; local
1145 for (vlan = hapd->conf->vlan; vlan; vlan = vlan->next) {
1146 if (vlan->vlan_id == vlan_id) {
1158 struct hostapd_vlan *vlan = NULL, *wildcard_vlan = NULL local
1262 struct hostapd_vlan *vlan = NULL; local
    [all...]
wpa_auth_ft.c 229 struct vlan_description *vlan)
240 os_memset(vlan, 0, sizeof(*vlan));
279 "FT: RRB VLAN ID invalid %d",
285 vlan->untagged = vlan_id;
289 vlan->tagged[taggedidx] = vlan_id;
302 qsort(vlan->tagged, taggedidx, sizeof(int), cmp_int);
304 vlan->notempty = vlan->untagged || vlan->tagged[0]
1210 struct vlan_description *vlan; member in struct:wpa_ft_pmk_r0_sa
1228 struct vlan_description *vlan; member in struct:wpa_ft_pmk_r1_sa
2090 struct vlan_description vlan; local
2174 struct vlan_description vlan; local
3181 struct vlan_description vlan; local
4173 struct vlan_description vlan; local
    [all...]
Makefile 48 vlan.o \
wpa_auth_glue.c 465 ifname = hostapd_get_vlan_id_ifname(hapd->conf->vlan, vlan_id);
1005 if (!hostapd_vlan_valid(hapd->conf->vlan, &vlan_desc)) {
1007 "Invalid VLAN ID %d in wpa_psk_file",
1014 "Failed to assign VLAN ID %d from wpa_psk_file to "
1023 "Assigned VLAN ID %d from wpa_psk_file to " MACSTR,
1160 struct vlan_description *vlan)
1170 if (vlan->notempty &&
1171 !hostapd_vlan_valid(hapd->conf->vlan, vlan)) {
1175 "Invalid VLAN %d%s received from FT"
    [all...]
vlan_util.c 2 * hostapd / VLAN netlink api
11 #include <netlink/route/link/vlan.h>
17 * Add a vlan interface with name 'vlan_if_name', VLAN ID 'vid' and
31 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d, "
35 wpa_printf(MSG_ERROR, "VLAN: Interface name too long: '%s'",
41 wpa_printf(MSG_ERROR, "VLAN: Interface name too long: '%s'",
48 wpa_printf(MSG_ERROR, "VLAN: failed to open netlink socket");
54 wpa_printf(MSG_ERROR, "VLAN: failed to connect to netlink: %s",
62 wpa_printf(MSG_ERROR, "VLAN: interface %s does not exist"
    [all...]
ap_config.c 30 struct hostapd_vlan *vlan, *prev; local
32 vlan = bss->vlan;
34 while (vlan) {
35 prev = vlan;
36 vlan = vlan->next;
40 bss->vlan = NULL;
1051 * @vlan_id: Buffer for returning VLAN ID or %NULL if not needed
1097 int hostapd_vlan_valid(struct hostapd_vlan *vlan,
    [all...]
  /src/sys/modules/if_vlan/
Makefile 8 IOCONF= vlan.ioconf
  /src/tests/net/if_vlan/
t_vlan.sh 62 $atf_ifconfig vlan0 vlan 1 vlanif shmif0
66 # more than one vlan interface with a same parent interface
69 $atf_ifconfig vlan0 vlan 10 vlanif shmif0
71 $atf_ifconfig vlan1 vlan 11 vlanif shmif0
75 $atf_ifconfig vlan2 vlan 12 vlanif shmif1
77 $atf_ifconfig vlan3 vlan 13 vlanif shmif1
92 rump_server_start $SOCK_LOCAL vlan
100 rump_server_start $SOCK_LOCAL vlan netinet6
133 $atf_ifconfig vlan0 vlan 10 vlanif shmif0
140 $atf_ifconfig vlan0 vlan 10 vlanif shmif
    [all...]
Makefile 8 .for name in vlan
  /src/external/bsd/nsd/dist/
xdp-dns-redirect_kern.c 71 struct vlanhdr *vlan; local
73 if (!(vlan = parse_vlanhdr(c)))
76 *eth_proto = vlan->encap_proto;
79 if (!(vlan = parse_vlanhdr(c)))
82 *eth_proto = vlan->encap_proto;
  /src/sys/dev/pci/ixgbe/
ixgbe_82598.h 46 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on,
ixgbe_common.h 140 s32 ixgbe_set_vfta_generic(struct ixgbe_hw *hw, u32 vlan,
142 s32 ixgbe_set_vlvf_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind,
146 s32 ixgbe_find_vlvf_slot(struct ixgbe_hw *hw, u32 vlan, bool vlvf_bypass);
ixgbe_vf.h 137 s32 ixgbe_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind,
  /src/sys/arch/mips/adm5120/dev/
if_admsw.c 539 static int vlan = 0; local
547 vlan++;
548 if (vlan == SW_DEVS)
549 vlan = 0;
550 i = vlan;
562 if (i == vlan)
565 vlan = i;
647 desc->status = (len << ADM5120_DMA_LENSHIFT) | (1 << vlan);
689 int vlan; local
715 for (vlan = 0; vlan < SW_DEVS; vlan++
835 int i, vlan; local
905 int i, len, port, vlan; local
    [all...]
  /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/external/bsd/wpa/dist/src/drivers/
driver_roboswitch.c 35 #define ROBO_VLAN_PAGE 0x34 /* VLAN page */
44 /* VLAN page registers */
45 #define ROBO_VLAN_ACCESS 0x08 /* VLAN table access register */
46 #define ROBO_VLAN_ACCESS_5350 0x06 /* VLAN table access register (5350) */
47 #define ROBO_VLAN_READ 0x0c /* VLAN read register */
361 u16 vlan = 0, _read[2]; local
371 /* find the '.' separating <interface> and <vlan> */
374 wpa_printf(MSG_INFO, "%s: No <interface>.<vlan> pair in "
382 wpa_printf(MSG_INFO, "%s: Invalid vlan specification "
387 vlan *= 10
    [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::__anon3428::__anon3434
  /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_l2t.c 77 return e->vlan >> 13;
123 V_L2T_W_VLAN(e->vlan & EVL_VLID_MASK) |
378 * XXX need to add accessor function for vlan tag
381 e->vlan = VLAN_DEV_INFO(neigh->dev)->vlan_id;
384 e->vlan = VLAN_NONE;
632 seq_puts(seq, "Index IP address Ethernet address VLAN "
644 e->vlan & EVL_VLID_MASK, vlan_prio(e),
  /src/sys/arch/evbarm/conf/
GENERIC.common 163 pseudo-device vlan # IEEE 802.1q encapsulation

Completed in 89 milliseconds

1 2 3