Public Release – Annex B: UDP/IP Specification v1.0 for TEE Sockets API Spec v1.0 3/11
Copyright 2013-2015 GlobalPlatform, Inc. All Rights Reserved.
The technology provided or described herein is subject to updates, revisions, and extensions by GlobalPlatform. Use of this
information is governed by the GlobalPlatform license agreement and any use inconsistent with that agreement is strictly
prohibited.
Contents
1 Introduction ............................................................................................................................ 4
1.1 Audience ............................................................................................................................................... 4
1.2 IPR Disclaimer....................................................................................................................................... 4
1.3 References ............................................................................................................................................ 4
1.4 Terminology and Definitions .................................................................................................................. 5
1.5 Abbreviations and Notations ................................................................................................................. 5
1.6 Revision History .................................................................................................................................... 5
Annex B TEE_udpSocket Instance Specification ................................................................ 6
B.1 General Information .............................................................................................................................. 6
B.1.1 Header File Name .......................................................................................................................... 6
B.1.2 Specification Version Number Property ......................................................................................... 6
B.1.3 Protocol Identifier Value ................................................................................................................. 6
B.1.4 Panic Numbering ............................................................................................................................ 6
B.2 Header File ............................................................................................................................................ 7
B.2.1 TEE_iSocket Instance Variable for UDP ........................................................................................ 7
B.2.2 Enumerations and Type Definitions ............................................................................................... 7
B.2.2.1 TEE_ipSocket_ipVersion Enumeration ................................................................................ 7
B.2.3 TEE_udpSocket_Setup Structure .................................................................................................. 8
B.2.4 Instance Specific Errors ................................................................................................................. 9
B.2.5 Instance Specific ioctl commandCode ........................................................................................... 9
B.2.6 Unusual Circumstances ............................................................................................................... 10
B.2.6.1 Out Of Band ........................................................................................................................ 10
B.3 Header File Example ........................................................................................................................... 11
Tables
Table 1-1: Normative References ...................................................................................................................... 4
Table 1-2: Terminology and Definitions ............................................................................................................. 5
Table 1-3: Abbreviations and Notations ............................................................................................................ 5
Table 1-4: Revision History ............................................................................................................................... 5
Table B-1: TEE_ipSocket_ipVersion Values ..................................................................................................... 7
Table B-2: UDP Instance Specific Errors .......................................................................................................... 9
Table B-3: UDP Instance Specific ioctl commandCode .................................................................................... 9