Home
last modified time | relevance | path

Searched refs:PP_NTOHS (Results 1 – 5 of 5) sorted by relevance

/third_party/lwip/src/apps/netbiosns/
Dnetbiosns.c367 …if (((netbios_hdr->flags & PP_NTOHS(NETB_HFLAG_OPCODE)) == PP_NTOHS(NETB_HFLAG_OPCODE_NAME_QUERY))… in netbiosns_recv()
368 ((netbios_hdr->flags & PP_NTOHS(NETB_HFLAG_RESPONSE)) == 0) && in netbiosns_recv()
369 (netbios_hdr->questions == PP_NTOHS(1))) { in netbiosns_recv()
/third_party/lwip/src/include/lwip/
Ddef.h91 #define PP_NTOHS(x) ((u16_t)(x)) macro
109 #define PP_NTOHS(x) PP_HTONS(x)
/third_party/lwip/src/core/ipv4/
Dip4.c92 #define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) (((port) == PP_NTOHS(LWIP_IANA_PORT_DHCP_CLIENT))…
99 #define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) ((port) == PP_NTOHS(LWIP_IANA_PORT_DHCP_CLIENT))
383 if ((IPH_OFFSET(iphdr) & PP_NTOHS(IP_DF)) == 0) {
951 chk_sum += PP_NTOHS(proto | (ttl << 8));
964 chk_sum += PP_NTOHS(tos | (iphdr->_v_hl << 8));
Dip4_frag.c608 is_last = (IPH_OFFSET(fraghdr) & PP_NTOHS(IP_MF)) == 0; in ip4_reass()
/third_party/lwip/
D0002-adapt-lstack.patch2091 if ((IPH_OFFSET(iphdr) & PP_NTOHS(IP_DF)) == 0) {