Home | History | Annotate | Download | only in radius

Lines Matching refs:tun

1213 	struct radius_tunnel_attrs tunnel[RADIUS_TUNNEL_TAGS], *tun;
1229 tun = &tunnel[0];
1231 tun = &tunnel[data[0]];
1237 tun->tag_used++;
1238 tun->type = WPA_GET_BE24(data + 1);
1243 tun->tag_used++;
1244 tun->medium_type = WPA_GET_BE24(data + 1);
1255 tun->tag_used++;
1256 tun->vlanid = atoi(buf);
1262 tun = &tunnel[i];
1263 if (tun->tag_used &&
1264 tun->type == RADIUS_TUNNEL_TYPE_VLAN &&
1265 tun->medium_type == RADIUS_TUNNEL_MEDIUM_TYPE_802 &&
1266 tun->vlanid > 0)
1267 return tun->vlanid;