Home | History | Annotate | Download | only in radius

Lines Matching defs:tun

1339 	struct radius_tunnel_attrs tunnel[RADIUS_TUNNEL_TAGS], *tun;
1357 tun = &tunnel[0];
1359 tun = &tunnel[data[0]];
1365 tun->tag_used++;
1366 tun->type = WPA_GET_BE24(data + 1);
1371 tun->tag_used++;
1372 tun->medium_type = WPA_GET_BE24(data + 1);
1383 tun->tag_used++;
1384 tun->vlanid = atoi(buf);
1390 tun = &tunnel[i];
1391 if (tun->tag_used &&
1392 tun->type == RADIUS_TUNNEL_TYPE_VLAN &&
1393 tun->medium_type == RADIUS_TUNNEL_MEDIUM_TYPE_802 &&
1394 tun->vlanid > 0)
1395 return tun->vlanid;