Home
last modified time | relevance | path

Searched refs:ip_addr_t (Results 1 – 19 of 19) sorted by relevance

/haiku/headers/private/kernel/boot/net/
H A DUDP.h17 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 DTCP.h17 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 DARP.h26 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 DIP.h22 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 DEthernet.h21 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 DNetDefs.h98 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 DRemoteDisk.h21 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 DiSCSITarget.h35 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 DUDP.cpp47 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 DARP.cpp74 || 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 DTCP.cpp94 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 DEthernet.cpp36 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 DIP.cpp66 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 DRemoteDisk.cpp76 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 Dnetwork.h25 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 Ddevices.cpp68 ip_addr_t serverAddress = sTFTP.ServerIPAddress(); in platform_add_boot_device()
H A Dnetwork.cpp100 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 Ddevices.cpp56 ip_addr_t bootAddress = 0; in platform_add_boot_device()
H A Dnetwork.cpp189 ip_addr_t address = ip_parse_address(defaultClientIP); in Init()