/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/ |
H A D | _KPPPAuthenticationHandler.cpp | 20 uint16 protocolNumber; member 126 if (ntohs(item->protocolNumber) == in ParseNak() 134 KPPPProtocol *authenticator = Interface().ProtocolFor(ntohs(item->protocolNumber)); in ParseNak() 171 || ntohs(item->protocolNumber) != fPeerAuthenticator->ProtocolNumber()) in ParseAck() 192 TRACE("KPPPAuthHandler: ParseRequest(%X)\n", ntohs(item->protocolNumber)); in ParseRequest() 195 fLocalAuthenticator = Interface().ProtocolFor(ntohs(item->protocolNumber)); in ParseRequest() 224 suggestion.protocolNumber = htons(nextAuthenticator->ProtocolNumber()); in ParseRequest()
|
H A D | KPPPLayer.cpp | 61 KPPPLayer::SendToNext(net_buffer *packet, uint16 protocolNumber) const in SendToNext() 70 return Next()->Send(packet, protocolNumber); in SendToNext() 72 return Next()->SendToNext(packet, protocolNumber); in SendToNext()
|
H A D | KPPPDevice.cpp | 92 KPPPDevice::Receive(net_buffer *packet, uint16 protocolNumber) in Receive() argument 95 if (protocolNumber == 0) in Receive() 98 return Interface().Receive(packet, protocolNumber); in Receive()
|
H A D | KPPPInterface.cpp | 1155 KPPPInterface::ProtocolFor(uint16 protocolNumber, KPPPProtocol *start) const in ProtocolFor() argument 1157 TRACE("KPPPInterface: ProtocolFor(%X)\n", protocolNumber); in ProtocolFor() 1165 if (current->ProtocolNumber() == protocolNumber in ProtocolFor() 1168 == (protocolNumber & 0x7FFF))) in ProtocolFor() 1551 KPPPInterface::Send(net_buffer *packet, uint16 protocolNumber) in Send() argument 1553 TRACE("KPPPInterface: Send(0x%X)\n", protocolNumber); in Send() 1571 if ((protocolNumber != PPP_LCP_PROTOCOL && DoesConnectOnDemand() in Send() 1581 KPPPProtocol *protocol = ProtocolFor(protocolNumber); in Send() 1584 ProtocolFor(protocolNumber, protocol->NextProtocol()) : NULL; in Send() 1600 if (Device()->IsUp() && protocolNumber == 0x0021) { in Send() [all …]
|
H A D | KPPPProtocol.cpp | 42 uint16 protocolNumber, ppp_level level, int32 addressFamily, in KPPPProtocol() argument 49 fProtocolNumber(protocolNumber), in KPPPProtocol() 122 info->protocolNumber = ProtocolNumber(); in Control()
|
H A D | KPPPLCP.cpp | 222 KPPPLCP::Send(net_buffer *packet, uint16 protocolNumber) in Send() argument 233 KPPPLCP::Receive(net_buffer *packet, uint16 protocolNumber) in Receive() argument 238 if (protocolNumber != PPP_LCP_PROTOCOL) { in Receive()
|
H A D | KPPPStateMachine.cpp | 1316 KPPPStateMachine::RUCEvent(net_buffer *packet, uint16 protocolNumber, in RUCEvent() argument 1329 SendCodeReject(packet, protocolNumber, code); in RUCEvent() 1873 KPPPStateMachine::SendCodeReject(net_buffer *packet, uint16 protocolNumber, uint8 code) in SendCodeReject() argument 1876 protocolNumber, code, State(), Phase()); in SendCodeReject() 1897 protocolNumber = htons(protocolNumber); in SendCodeReject() 1899 memcpy(&reject.data, &protocolNumber, sizeof(protocolNumber)); in SendCodeReject()
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/ |
H A D | KPPPLayer.h | 52 virtual status_t Send(net_buffer *packet, uint16 protocolNumber) = 0; 54 virtual status_t Receive(net_buffer *packet, uint16 protocolNumber) = 0; 56 status_t SendToNext(net_buffer *packet, uint16 protocolNumber) const;
|
H A D | KPPPProtocol.h | 20 uint16 protocolNumber, ppp_level level, int32 addressFamily, 108 virtual status_t Send(net_buffer *packet, uint16 protocolNumber) = 0; 110 virtual status_t Receive(net_buffer *packet, uint16 protocolNumber) = 0;
|
H A D | KPPPDevice.h | 101 virtual status_t Send(net_buffer *packet, uint16 protocolNumber) = 0; 102 virtual status_t Receive(net_buffer *packet, uint16 protocolNumber);
|
H A D | KPPPLCP.h | 89 uint16 protocolNumber = PPP_LCP_PROTOCOL); 90 virtual status_t Receive(net_buffer *packet, uint16 protocolNumber);
|
H A D | KPPPInterface.h | 140 KPPPProtocol *ProtocolFor(uint16 protocolNumber, 231 virtual status_t Send(net_buffer *packet, uint16 protocolNumber); 233 virtual status_t Receive(net_buffer *packet, uint16 protocolNumber);
|
H A D | KPPPStateMachine.h | 126 void RUCEvent(net_buffer *packet, uint16 protocolNumber, 150 bool SendCodeReject(net_buffer *packet, uint16 protocolNumber, uint8 code);
|
H A D | PPPControl.h | 293 uint16 protocolNumber; member
|
/haiku/src/add-ons/kernel/network/ppp/ipcp/ |
H A D | Protocol.h | 77 uint16 protocolNumber = IPCP_PROTOCOL); 78 virtual status_t Receive(net_buffer *packet, uint16 protocolNumber); 79 status_t ReceiveIPPacket(net_buffer *packet, uint16 protocolNumber);
|
H A D | Protocol.cpp | 231 IPCP::Send(net_buffer *packet, uint16 protocolNumber) in Send() argument 233 TRACE("IPCP: Send(0x%X)\n", protocolNumber); in Send() 235 if ((protocolNumber == IP_PROTOCOL && State() == PPP_OPENED_STATE) in Send() 236 || protocolNumber == IPCP_PROTOCOL) { in Send() 241 return SendToNext(packet, protocolNumber); in Send() 252 IPCP::Receive(net_buffer *packet, uint16 protocolNumber) in Receive() argument 254 TRACE("IPCP: Receive(0x%X)\n", protocolNumber); in Receive() 259 if (protocolNumber == IP_PROTOCOL) in Receive() 260 return ReceiveIPPacket(packet, protocolNumber); in Receive() 262 if (protocolNumber != IPCP_PROTOCOL) in Receive() [all …]
|
/haiku/src/add-ons/kernel/network/ppp/pppoe/ |
H A D | PPPoEDevice.h | 56 virtual status_t Send(net_buffer *packet, uint16 protocolNumber = 0); 57 virtual status_t Receive(net_buffer *packet, uint16 protocolNumber = 0);
|
H A D | PPPoEDevice.cpp | 310 PPPoEDevice::Send(net_buffer *packet, uint16 protocolNumber) in Send() argument 318 else if (InitCheck() != B_OK || protocolNumber != 0) { in Send() 372 PPPoEDevice::Receive(net_buffer *packet, uint16 protocolNumber) in Receive() argument 374 TRACE("%s entering %s: protocolNumber:%x\n", __FILE__, __func__, protocolNumber); in Receive()
|
/haiku/src/add-ons/kernel/network/ppp/modem/ |
H A D | ModemDevice.h | 62 virtual status_t Send(net_buffer *packet, uint16 protocolNumber = 0); 65 virtual status_t Receive(net_buffer *packet, uint16 protocolNumber = 0);
|
H A D | ModemDevice.cpp | 406 ModemDevice::Send(net_buffer *packet, uint16 protocolNumber) in Send() argument 415 else if (InitCheck() != B_OK || protocolNumber != 0) { in Send() 507 ModemDevice::Receive(net_buffer *packet, uint16 protocolNumber) in Receive() argument
|
/haiku/src/add-ons/kernel/network/ppp/pap/ |
H A D | Protocol.cpp | 26 uint16 protocolNumber; member 55 item.protocolNumber = htons(PAP_PROTOCOL); in AddToRequest() 74 || item->length != 4 || ntohs(item->protocolNumber) != PAP_PROTOCOL) in ParseRequest() 170 PAP::Send(net_buffer *packet, uint16 protocolNumber) in Send() argument 181 PAP::Receive(net_buffer *packet, uint16 protocolNumber) in Receive() argument 186 if (protocolNumber != PAP_PROTOCOL) in Receive()
|
H A D | Protocol.h | 61 virtual status_t Send(net_buffer *packet, uint16 protocolNumber); 62 virtual status_t Receive(net_buffer *packet, uint16 protocolNumber);
|
/haiku/src/add-ons/kernel/network/protocols/ipv6/ |
H A D | ipv6.cpp | 1274 uint8 protocolNumber; in ipv6_send_routed_data() local 1276 protocolNumber = protocol->socket->protocol; in ipv6_send_routed_data() 1278 protocolNumber = buffer->protocol; in ipv6_send_routed_data() 1316 header->ip6_nxt = protocolNumber; in ipv6_send_routed_data() 1324 if (protocolNumber == IPPROTO_ICMPV6 in ipv6_send_routed_data() 1336 &header->ip6_dst, dataLength, protocolNumber, in ipv6_send_routed_data()
|
/haiku/src/bin/network/pppconfig/ |
H A D | pppconfig.cpp | 551 printf("protocolNumber: %d\n", info.info.protocolNumber); in controlprotocol()
|