Searched refs:PP_NTOHS (Results 1 – 5 of 5) sorted by relevance
367 …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()
91 #define PP_NTOHS(x) ((u16_t)(x)) macro109 #define PP_NTOHS(x) PP_HTONS(x)
92 #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));
608 is_last = (IPH_OFFSET(fraghdr) & PP_NTOHS(IP_MF)) == 0; in ip4_reass()
2091 if ((IPH_OFFSET(iphdr) & PP_NTOHS(IP_DF)) == 0) {