/* Converts a text device path node to VLAN device path structure. */
EFI_DEVICE_PATH_PROTOCOL* DevPathFromTextVlan(IN CHAR16 *TextDeviceNode)
/* Converts a text device path node to VLAN device path structure. */
EFI_DEVICE_PATH_PROTOCOL* DevPathFromTextVlan(IN CHAR16 *TextDeviceNode)
{
  CHAR16            *VlanStr;
  VLAN_DEVICE_PATH  *Vlan;
  VlanStr = GetNextParamStr (&TextDeviceNode);
  Vlan    = (VLAN_DEVICE_PATH *)CreateDeviceNode (
                                  MESSAGING_DEVICE_PATH,
                                  MSG_VLAN_DP,
                                  (UINT16)sizeof (VLAN_DEVICE_PATH)
                                  );
  Vlan->VlanId = (UINT16)Strtoi (VlanStr);
  return (EFI_DEVICE_PATH_PROTOCOL *)Vlan;
}