Home
last modified time | relevance | path

Searched refs:LocalPort (Results 1 – 25 of 52) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Rx/
DRawIp4Rx.c35 struct sockaddr_in LocalPort; in RawIp4Rx() local
59 memset ( &LocalPort, 0, sizeof ( LocalPort )); in RawIp4Rx()
60 SIN_LEN ( LocalPort ) = sizeof ( LocalPort ); in RawIp4Rx()
61 SIN_FAMILY ( LocalPort ) = AF_INET; in RawIp4Rx()
62 SIN_ADDR ( LocalPort ) = 0; in RawIp4Rx()
63 SIN_PORT ( LocalPort ) = 0; in RawIp4Rx()
65 (struct sockaddr *)&LocalPort, in RawIp4Rx()
66 sizeof ( LocalPort )); in RawIp4Rx()
76 LocalPortLength = sizeof ( LocalPort ); in RawIp4Rx()
77 RetVal = getsockname ( s, (struct sockaddr *)&LocalPort, &LocalPortLength ); in RawIp4Rx()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Tx/
DRawIp4Tx.c36 struct sockaddr_in LocalPort; in RawIp4Tx() local
82 memset ( &LocalPort, 0, sizeof ( LocalPort )); in RawIp4Tx()
83 SIN_LEN ( LocalPort ) = sizeof ( LocalPort ); in RawIp4Tx()
84 SIN_FAMILY ( LocalPort ) = AF_INET; in RawIp4Tx()
85 SIN_ADDR ( LocalPort ) = 0; in RawIp4Tx()
86 SIN_PORT ( LocalPort ) = 0; in RawIp4Tx()
88 (struct sockaddr *)&LocalPort, in RawIp4Tx()
89 sizeof ( LocalPort )); in RawIp4Tx()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobRx/
DOobRx.c36 struct sockaddr_in LocalPort; in OobRx() local
67 memset ( &LocalPort, 0, sizeof ( LocalPort )); in OobRx()
68 SIN_LEN ( LocalPort ) = sizeof ( LocalPort ); in OobRx()
69 SIN_FAMILY ( LocalPort ) = AF_INET; in OobRx()
70 SIN_ADDR ( LocalPort ) = 0; in OobRx()
71 SIN_PORT ( LocalPort ) = htons ( PortNumber ); in OobRx()
73 (struct sockaddr *)&LocalPort, in OobRx()
74 sizeof ( LocalPort )); in OobRx()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobTx/
DOobTx.c38 struct sockaddr_in LocalPort; in OobTx() local
88 memset ( &LocalPort, 0, sizeof ( LocalPort )); in OobTx()
89 SIN_LEN ( LocalPort ) = sizeof ( LocalPort ); in OobTx()
90 SIN_FAMILY ( LocalPort ) = AF_INET; in OobTx()
91 SIN_ADDR ( LocalPort ) = 0; in OobTx()
92 SIN_PORT ( LocalPort ) = 0; in OobTx()
94 (struct sockaddr *)&LocalPort, in OobTx()
95 sizeof ( LocalPort )); in OobTx()
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DTcpMisc.c319 TCP_PORTNO LocalPort; in TcpFindTcbByPeer() local
325 LocalPort = HTONS (Port); in TcpFindTcbByPeer()
332 (LocalPort == Tcb->LocalEnd.Port) in TcpFindTcbByPeer()
344 (LocalPort == Tcb->LocalEnd.Port) in TcpFindTcbByPeer()
370 IN TCP_PORTNO LocalPort, in TcpLocateTcb() argument
383 Local.Port = LocalPort; in TcpLocateTcb()
967 TCP_PORTNO LocalPort; in TcpInstallDevicePath() local
974 LocalPort = NTOHS (Tcb->LocalEnd.Port); in TcpInstallDevicePath()
981 LocalPort, in TcpInstallDevicePath()
996 LocalPort, in TcpInstallDevicePath()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
DTcp4Misc.c252 TCP_PORTNO LocalPort; in TcpFindTcbByPeer() local
258 LocalPort = HTONS (Port); in TcpFindTcbByPeer()
264 (LocalPort == Tcb->LocalEnd.Port)) { in TcpFindTcbByPeer()
274 (LocalPort == Tcb->LocalEnd.Port)) { in TcpFindTcbByPeer()
299 IN TCP_PORTNO LocalPort, in TcpLocateTcb() argument
311 Local.Port = LocalPort; in TcpLocateTcb()
898 TCP_PORTNO LocalPort; in TcpInstallDevicePath() local
905 LocalPort = NTOHS (Tcb->LocalEnd.Port); in TcpInstallDevicePath()
911 LocalPort, in TcpInstallDevicePath()
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DHttp.h133 UINT16 LocalPort; member
147 UINT16 LocalPort; member
DDns4.h89 UINT16 LocalPort; member
DUdp6.h53 UINT16 LocalPort; member
DDns6.h60 UINT16 LocalPort; member
DUdp4.h47 UINT16 LocalPort; member
DTcp6.h59 UINT16 LocalPort; member
DTcp4.h45 UINT16 LocalPort; member
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootSupport.h147 UINT16 LocalPort; member
158 UINT16 LocalPort; member
DHttpBootSupport.c745 Http4AccessPoint.LocalPort = ConfigData->Config4.LocalPort; in HttpIoCreateIo()
751 Http6AccessPoint.LocalPort = ConfigData->Config6.LocalPort; in HttpIoCreateIo()
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/
DPolicyEntryOperation.c118 Selector->LocalPort = EFI_IPSEC_ANY_PORT; in CreateSpdSelector()
126 … Status = EfiInetPortRange ((CHAR16 *) ValueStr, &Selector->LocalPort, &Selector->LocalPortRange); in CreateSpdSelector()
173 &Selector->LocalPort, in CreateSpdSelector()
1368 NewSelector->LocalPort = OldSelector->LocalPort; in CombineSpdEntry()
1370 } else if ((NewSelector->LocalPort != OldSelector->LocalPort) || in CombineSpdEntry()
1386 NewSelector->LocalPort = OldSelector->LocalPort; in CombineSpdEntry()
1387 } else if (NewSelector->LocalPort != OldSelector->LocalPort) { in CombineSpdEntry()
1725 OldData->SpdSelector->LocalPort = NewData->SpdSelector->LocalPort; in CombineSadEntry()
1735 OldData->SpdSelector->LocalPort = (UINT8) NewData->SpdSelector->LocalPort; in CombineSadEntry()
DDump.c220 if (Selector->LocalPort != EFI_IPSEC_ANY_PORT) { in DumpSpdSelector()
221 Print (L"%d", Selector->LocalPort); in DumpSpdSelector()
223 Print (L"~%d", (UINTN) Selector->LocalPort + Selector->LocalPortRange); in DumpSpdSelector()
240 if (Selector->LocalPort != 0) { in DumpSpdSelector()
241 Print (L"%d", (UINTN) (UINT8) Selector->LocalPort); in DumpSpdSelector()
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DComponentName.c211 ModeData.DnsConfigData.LocalPort in UpdateDns4Name()
281 ModeData.DnsConfigData.LocalPort in UpdateDns6Name()
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
DExchange.c212 if (SpdEntry->Selector->LocalPort != EFI_IPSEC_ANY_PORT) { in Ikev2NegotiateChildSa()
213 ChildSaSession->LocalPort = SpdEntry->Selector->LocalPort; in Ikev2NegotiateChildSa()
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/
DMtftp6Support.h230 IN UINT16 LocalPort
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
DUdpIoLib.h42 UINT16 LocalPort; member
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeUdpIoLib/
DDxeUdpIoLib.c237 EndPoint.LocalPort = ((EFI_UDP4_SESSION_DATA *) Session)->DestinationPort; in UdpIoOnDgramRcvdDpc()
274 EndPoint.LocalPort = ((EFI_UDP6_SESSION_DATA *) Session)->DestinationPort; in UdpIoOnDgramRcvdDpc()
494 TxToken->Session.Udp4.SourcePort = EndPoint->LocalPort; in UdpIoCreateTxToken()
548 TxToken->Session.Udp6.SourcePort = EndPoint->LocalPort; in UdpIoCreateTxToken()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/
DEfiDevicePath.h262 UINT16 LocalPort; member
273 UINT16 LocalPort; member
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/
DIpSecConfigImpl.c204 SpdSel1->LocalPort != SpdSel2->LocalPort || in CompareSpdSelector()
366 (SpdSel1->LocalPort > SpdSel2->LocalPort && SpdSel2->LocalPort != 0)|| in IsSubSpdSelector()
367 (SpdSel1->LocalPortRange > SpdSel2->LocalPortRange && SpdSel1->LocalPort != 0)|| in IsSubSpdSelector()
422 (SpdSel1->LocalPort > SpdSel2->RemotePort && SpdSel2->RemotePort != 0)|| in IsSubSpdSelector()
424 (SpdSel1->RemotePort > SpdSel2->LocalPort && SpdSel2->LocalPort != 0) || in IsSubSpdSelector()
425 (SpdSel1->RemotePortRange > SpdSel2->LocalPortRange && SpdSel2->LocalPort != 0) in IsSubSpdSelector()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Udp4/
DUdp4.h38 UINT16 LocalPort; member

123