Searched refs:htobe16 (Results 1 – 2 of 2) sorted by relevance
270 frame.eth.ether_type = htobe16(ETH_P_IP); in ReleaseDhcp4()279 frame.ip.tot_len = htobe16(sizeof(frame.ip) + sizeof(frame.udp) in ReleaseDhcp4()285 frame.udp.source = htobe16(68); in ReleaseDhcp4()286 frame.udp.dest = htobe16(67); in ReleaseDhcp4()287 frame.udp.len = htobe16(sizeof(frame.udp) + sizeof(frame.dhcp)); in ReleaseDhcp4()293 frame.dhcp.secs = htobe16(3); in ReleaseDhcp4()
47 #define htobe16(x) bswap16((x)) macro61 #define htobe16(x) ((uint16_t)(x)) macro