/haiku/headers/private/kernel/boot/net/ |
H A D | UDP.h | 17 status_t SetTo(const void *data, size_t size, ip_addr_t sourceAddress, 18 uint16 sourcePort, ip_addr_t destinationAddress, 27 ip_addr_t SourceAddress() const; 29 ip_addr_t DestinationAddress() const; 36 ip_addr_t fSourceAddress; 37 ip_addr_t fDestinationAddress; 51 ip_addr_t Address() const { return fAddress; } in Address() 54 status_t Bind(ip_addr_t address, uint16 port); 57 status_t Send(ip_addr_t destinationAddress, uint16 destinationPort, 59 status_t Send(ip_addr_t destinationAddress, uint16 destinationPort, [all …]
|
H A D | TCP.h | 17 status_t SetTo(const void* data, size_t size, ip_addr_t sourceAddress, 18 uint16 sourcePort, ip_addr_t destinationAddress, 22 ip_addr_t SourceAddress() const; 23 ip_addr_t DestinationAddress() const; 38 ip_addr_t fSourceAddress; 39 ip_addr_t fDestinationAddress; 66 ip_addr_t Address() const { return fAddress; } in Address() 70 status_t Connect(ip_addr_t address, uint16 port); 89 ip_addr_t fAddress; 91 ip_addr_t fRemoteAddress; [all …]
|
H A D | ARP.h | 26 status_t GetMACForIP(ip_addr_t ip, mac_addr_t &mac); 35 ip_addr_t ip; 39 status_t _SendARPPacket(ip_addr_t ip, const mac_addr_t &mac, uint16 opcode); 41 MapEntry *_FindEntry(ip_addr_t ip); 42 void _PutEntry(ip_addr_t ip, const mac_addr_t &mac);
|
H A D | IP.h | 22 virtual void HandleIPPacket(IPService *ipService, ip_addr_t sourceIP, 23 ip_addr_t destinationIP, const void *data, size_t size) = 0; 36 ip_addr_t IPAddress() const; 43 status_t Send(ip_addr_t destination, uint8 protocol, ChainBuffer *buffer); 62 ip_addr_t ip_parse_address(const char* address);
|
H A D | Ethernet.h | 21 ip_addr_t IPAddress() const; 22 void SetIPAddress(ip_addr_t ipAddress); 33 ip_addr_t fIPAddress; 58 ip_addr_t IPAddress() const; 59 void SetIPAddress(ip_addr_t ipAddress);
|
H A D | NetDefs.h | 98 typedef uint32 ip_addr_t; typedef 119 ip_addr_t sender_ip; /* Sender IP address. */ 121 ip_addr_t target_ip; /* Target IP address. */ 132 #define INADDR_ANY ((ip_addr_t) 0x00000000) 134 #define INADDR_BROADCAST ((ip_addr_t) 0xffffffff) 136 #define INADDR_NONE ((ip_addr_t) 0xffffffff) 155 ip_addr_t source; // source IP address 156 ip_addr_t destination; // destination IP address
|
H A D | RemoteDisk.h | 21 status_t Init(ip_addr_t serverAddress, uint16 serverPort, off_t imageSize); 31 ip_addr_t ServerIPAddress() const; 39 static status_t _SendRequest(UDPSocket *socket, ip_addr_t serverAddress, 46 ip_addr_t fServerAddress;
|
H A D | iSCSITarget.h | 35 status_t Open(ip_addr_t address, uint16 port); 61 status_t Init(ip_addr_t address, uint16 port, char** targetAlias = NULL); 82 status_t Init(ip_addr_t address, uint16 port, const char* targetName); 92 static bool DiscoverTargets(ip_addr_t address, uint16 port, 94 static bool _AddDevice(ip_addr_t address, uint16 port,
|
/haiku/src/system/boot/loader/net/ |
H A D | UDP.cpp | 47 UDPPacket::SetTo(const void *data, size_t size, ip_addr_t sourceAddress, in SetTo() 48 uint16 sourcePort, ip_addr_t destinationAddress, uint16 destinationPort) in SetTo() 97 ip_addr_t 111 ip_addr_t 147 UDPSocket::Bind(ip_addr_t address, uint16 port) in Bind() 188 UDPSocket::Send(ip_addr_t destinationAddress, uint16 destinationPort, in Send() 200 UDPSocket::Send(ip_addr_t destinationAddress, uint16 destinationPort, in Send() 306 UDPService::HandleIPPacket(IPService *ipService, ip_addr_t sourceIP, in HandleIPPacket() 307 ip_addr_t destinationIP, const void *data, size_t size) in HandleIPPacket() 350 UDPService::Send(uint16 sourcePort, ip_addr_t destinationAddress, in Send() [all …]
|
H A D | ARP.cpp | 74 || header->protocol_length != sizeof(ip_addr_t) in HandleEthernetPacket() 113 ARPService::GetMACForIP(ip_addr_t ip, mac_addr_t &mac) in GetMACForIP() 165 ARPService::_SendARPPacket(ip_addr_t ip, const mac_addr_t &mac, uint16 opcode) in _SendARPPacket() 173 header.protocol_length = sizeof(ip_addr_t); in _SendARPPacket() 185 ARPService::_FindEntry(ip_addr_t ip) in _FindEntry() 200 ARPService::_PutEntry(ip_addr_t ip, const mac_addr_t &mac) in _PutEntry()
|
H A D | TCP.cpp | 94 TCPPacket::SetTo(const void* data, size_t size, ip_addr_t sourceAddress, in SetTo() 95 uint16 sourcePort, ip_addr_t destinationAddress, uint16 destinationPort, in SetTo() 122 ip_addr_t 129 ip_addr_t 231 TCPSocket::Connect(ip_addr_t address, uint16 port) in Connect() 710 TCPService::HandleIPPacket(IPService* ipService, ip_addr_t sourceIP, in HandleIPPacket() 711 ip_addr_t destinationIP, const void* data, size_t size) in HandleIPPacket() 784 TCPService::Send(uint16 sourcePort, ip_addr_t destinationAddress, in Send() 845 TCPService::_ChecksumBuffer(ChainBuffer* buffer, ip_addr_t source, in _ChecksumBuffer() 846 ip_addr_t destination, uint16 length) in _ChecksumBuffer() [all …]
|
H A D | Ethernet.cpp | 36 ip_addr_t 44 EthernetInterface::SetIPAddress(ip_addr_t ipAddress) in SetIPAddress() 108 ip_addr_t 116 EthernetService::SetIPAddress(ip_addr_t ipAddress) in SetIPAddress()
|
H A D | IP.cpp | 66 ip_addr_t 124 IPService::Send(ip_addr_t destination, uint8 protocol, ChainBuffer *buffer) in Send() 271 ip_addr_t 274 ip_addr_t address = 0; in ip_parse_address()
|
H A D | RemoteDisk.cpp | 76 RemoteDisk::Init(ip_addr_t serverAddress, uint16 serverPort, off_t imageSize) in Init() 187 ip_addr_t 268 RemoteDisk::_SendRequest(UDPSocket *socket, ip_addr_t serverAddress, in _SendRequest()
|
/haiku/src/system/boot/platform/pxe_ia32/ |
H A D | network.h | 25 ip_addr_t IPAddress() const { return fClientIP; } in IPAddress() 26 ip_addr_t ServerIPAddress() const { return fServerIP; } in ServerIPAddress() 31 ip_addr_t fClientIP; 32 ip_addr_t fServerIP;
|
H A D | devices.cpp | 68 ip_addr_t serverAddress = sTFTP.ServerIPAddress(); in platform_add_boot_device()
|
H A D | network.cpp | 100 fClientIP = ntohl(*(ip_addr_t *)(buf + 16)); in Init() 101 fServerIP = ntohl(*(ip_addr_t *)(buf + 20)); in Init()
|
/haiku/src/system/boot/platform/openfirmware/ |
H A D | devices.cpp | 56 ip_addr_t bootAddress = 0; in platform_add_boot_device()
|
H A D | network.cpp | 189 ip_addr_t address = ip_parse_address(defaultClientIP); in Init()
|