efitcp.h revision 199767f8919635c4928607450d9e0abb932109ce
#ifndef _EFI_TCP_H
#define _EFI_TCP_H
/*++
Copyright (c) 2013 Intel Corporation
--*/
#define EFI_TCP4_SERVICE_BINDING_PROTOCOL \
{ 0x00720665, 0x67eb, 0x4a99, {0xba, 0xf7, 0xd3, 0xc3, 0x3a, 0x1c,0x7c, 0xc9}}
#define EFI_TCP4_PROTOCOL \
{ 0x65530bc7, 0xa359, 0x410f, {0xb0, 0x10, 0x5a, 0xad, 0xc7, 0xec, 0x2b, 0x62}}
#define EFI_TCP6_SERVICE_BINDING_PROTOCOL \
{ 0xec20eb79, 0x6c1a, 0x4664, {0x9a, 0xd, 0xd2, 0xe4, 0xcc, 0x16, 0xd6, 0x64}}
#define EFI_TCP6_PROTOCOL \
{ 0x46e44855, 0xbd60, 0x4ab7, {0xab, 0xd, 0xa6, 0x79, 0xb9, 0x44, 0x7d, 0x77}}
typedef struct {
typedef struct {
typedef struct {
// Receiving Filters
// I/O parameters
// Access Point
// TCP Control Options
typedef enum {
Tcp4StateClosed = 0,
Tcp4StateListen = 1,
Tcp4StateSynSent = 2,
Tcp4StateSynReceived = 3,
Tcp4StateEstablished = 4,
Tcp4StateFinWait1 = 5,
Tcp4StateFinWait2 = 6,
Tcp4StateClosing = 7,
Tcp4StateTimeWait = 8,
Tcp4StateCloseWait = 9,
Tcp4StateLastAck = 10
typedef
);
typedef
(EFIAPI *EFI_TCP4_CONFIGURE) (
);
typedef
(EFIAPI *EFI_TCP4_ROUTES) (
);
typedef struct {
typedef struct {
typedef
(EFIAPI *EFI_TCP4_CONNECT) (
);
typedef struct {
typedef
(EFIAPI *EFI_TCP4_ACCEPT) (
);
typedef struct {
typedef struct {
typedef struct {
typedef struct {
union {
} Packet;
typedef
(EFIAPI *EFI_TCP4_TRANSMIT) (
);
typedef
(EFIAPI *EFI_TCP4_RECEIVE) (
);
typedef struct {
typedef
(EFIAPI *EFI_TCP4_CLOSE)(
);
typedef
);
typedef
(EFIAPI *EFI_TCP4_POLL) (
);
typedef struct _EFI_TCP4 {
} EFI_TCP4;
typedef enum {
Tcp6StateClosed = 0,
Tcp6StateListen = 1,
Tcp6StateSynSent = 2,
Tcp6StateSynReceived = 3,
Tcp6StateEstablished = 4,
Tcp6StateFinWait1 = 5,
Tcp6StateFinWait2 = 6,
Tcp6StateClosing = 7,
Tcp6StateTimeWait = 8,
Tcp6StateCloseWait = 9,
Tcp6StateLastAck = 10
typedef struct {
typedef struct {
typedef struct {
typedef
);
typedef
(EFIAPI *EFI_TCP6_CONFIGURE) (
);
typedef struct {
typedef struct {
typedef
(EFIAPI *EFI_TCP6_CONNECT) (
);
typedef struct {
typedef
(EFIAPI *EFI_TCP6_ACCEPT) (
);
typedef struct {
typedef struct {
typedef struct {
typedef struct {
union {
} Packet;
typedef
(EFIAPI *EFI_TCP6_TRANSMIT) (
);
typedef
(EFIAPI *EFI_TCP6_RECEIVE) (
);
typedef struct {
typedef
(EFIAPI *EFI_TCP6_CLOSE)(
);
typedef
);
typedef
(EFIAPI *EFI_TCP6_POLL) (
);
typedef struct _EFI_TCP6 {
} EFI_TCP6;
#endif /* _EFI_TCP_H */