Searched refs:RT_H2N_U16_C (Results 1 - 10 of 10) sorted by relevance

/vbox/src/VBox/NetworkServices/NetLib/
H A DVBoxNetARP.cpp56 if (pEthHdr->EtherType != RT_H2N_U16_C(RTNET_ETHERTYPE_ARP))
70 if (pArpHdr->ar_htype != RT_H2N_U16_C(RTNET_ARP_ETHER))
74 if (pArpHdr->ar_ptype != RT_H2N_U16_C(RTNET_ETHERTYPE_IPV4))
83 case RT_H2N_U16_C(RTNET_ARPOP_REQUEST):
84 case RT_H2N_U16_C(RTNET_ARPOP_REVREQUEST):
85 case RT_H2N_U16_C(RTNET_ARPOP_INVREQUEST):
98 case RT_H2N_U16_C(RTNET_ARPOP_REQUEST):
101 Reply.Hdr.ar_oper = RT_H2N_U16_C(RTNET_ARPOP_REPLY);
104 case RT_H2N_U16_C(RTNET_ARPOP_REVREQUEST):
109 Reply.Hdr.ar_oper = RT_H2N_U16_C(RTNET_ARPOP_REVREPL
[all...]
/vbox/src/VBox/Runtime/testcase/
H A DtstRTStrFormat.cpp356 Ipv6Addr.au16[5] = RT_H2N_U16_C(0xffff);
360 Ipv6Addr.au16[4] = RT_H2N_U16_C(0xffff);
361 Ipv6Addr.au16[5] = RT_H2N_U16_C(0x0000);
365 Ipv6Addr.au16[0] = RT_H2N_U16_C(0x0000);
366 Ipv6Addr.au16[1] = RT_H2N_U16_C(0x0001);
367 Ipv6Addr.au16[2] = RT_H2N_U16_C(0x0000);
368 Ipv6Addr.au16[3] = RT_H2N_U16_C(0x0001);
369 Ipv6Addr.au16[4] = RT_H2N_U16_C(0x0000);
370 Ipv6Addr.au16[5] = RT_H2N_U16_C(0x0001);
371 Ipv6Addr.au16[6] = RT_H2N_U16_C(
[all...]
/vbox/src/VBox/Devices/Network/slirp/
H A Dudp.c175 if (uh->uh_dport == RT_H2N_U16_C(BOOTP_SERVER))
181 LogFunc(("uh src: %RTnaipv4:%d, dst: %RTnaipv4:%d\n", ip->ip_src, RT_H2N_U16_C(uh->uh_sport), ip->ip_dst, RT_H2N_U16_C(uh->uh_dport)));
183 && uh->uh_dport == RT_H2N_U16_C(53)
203 if ( uh->uh_dport == RT_H2N_U16_C(TFTP_SERVER)
217 && (uh->uh_dport == RT_H2N_U16_C(53)))
294 && (uh->uh_dport == RT_H2N_U16_C(53)))
H A Dbootp.c226 saddr.sin_port = RT_H2N_U16_C(BOOTP_SERVER);
227 daddr.sin_port = RT_H2N_U16_C(BOOTP_CLIENT);
448 if (bp->bp_flags & RT_H2N_U16_C(DHCP_FLAGS_B))
834 if ( (flags & RT_H2N_U16_C(DHCP_FLAGS_B))
839 saddr.sin_port = RT_H2N_U16_C(BOOTP_SERVER);
840 daddr.sin_port = RT_H2N_U16_C(BOOTP_CLIENT);
H A Dtftp.c586 pTftpIpHeader->u16TftpOpType = RT_H2N_U16_C(TFTP_OACK);
626 pTftpIpHeader->u16TftpOpType = RT_H2N_U16_C(TFTP_ERROR);
667 pTftpIpHeader->u16TftpOpType = RT_H2N_U16_C(TFTP_DATA);
H A Dslirp.c1292 pARPHeaderResponse->ar_hrd = RT_H2N_U16_C(1);
1293 pARPHeaderResponse->ar_pro = RT_H2N_U16_C(ETH_P_IP);
1296 pARPHeaderResponse->ar_op = RT_H2N_U16_C(ARPOP_REPLY);
1916 ahdr->ar_hrd = RT_H2N_U16_C(1);
1917 ahdr->ar_pro = RT_H2N_U16_C(ETH_P_IP);
1920 ahdr->ar_op = RT_H2N_U16_C(ARPOP_REQUEST);
H A Dsocket.c776 if (so->so_fport != RT_H2N_U16_C(53))
788 && so->so_fport == RT_H2N_U16_C(53)
/vbox/src/VBox/HostDrivers/VBoxNetFlt/linux/
H A DVBoxNetFlt-linux.c1109 if ( uEtherType == RT_H2N_U16_C(RTNET_ETHERTYPE_VLAN)
1118 case RT_H2N_U16_C(RTNET_ETHERTYPE_IPV4): function
1148 case RT_H2N_U16_C(RTNET_ETHERTYPE_IPV6): function
/vbox/src/VBox/Devices/Network/
H A DSrvIntNetR0.cpp2984 else if (pEthHdr->EtherType == RT_H2N_U16_C(RTNET_ETHERTYPE_IPV6))
3032 case RT_H2N_U16_C(RTNET_ETHERTYPE_ARP):
3039 if (ar_oper == RT_H2N_U16_C(RTNET_ARPOP_REQUEST))
3051 case RT_H2N_U16_C(RTNET_ETHERTYPE_IPV4):
3081 case RT_H2N_U16_C(RTNET_ETHERTYPE_IPV6):
/vbox/include/iprt/
H A Dcdefs.h2097 /** @def RT_H2N_U16_C
2099 #define RT_H2N_U16_C(u16) RT_H2BE_U16_C(u16) macro

Completed in 5019 milliseconds