Lines Matching refs:htonl
183 #define MPLS_STACK_BOTTOM htonl(0x00000100)
843 pkt_dev->labels[n] = htonl(tmp); in get_labels()
2334 x = xfrm_state_lookup_byspi(pn->net, htonl(pkt_dev->spi), AF_INET); in get_ipsec_sa()
2448 htonl(0x000fffff)); in mod_cur_headers()
2499 pkt_dev->cur_saddr = htonl(t); in mod_cur_headers()
2515 s = htonl(t); in mod_cur_headers()
2528 pkt_dev->cur_daddr = htonl(t); in mod_cur_headers()
2758 pgh->pgh_magic = htonl(PKTGEN_MAGIC); in pktgen_finalize_skb()
2759 pgh->seq_num = htonl(pkt_dev->seq_num); in pktgen_finalize_skb()
2766 pgh->tv_sec = htonl(timestamp.tv_sec); in pktgen_finalize_skb()
2767 pgh->tv_usec = htonl(timestamp.tv_usec); in pktgen_finalize_skb()
3014 *(__be32 *) iph = htonl(0x60000000); /* Version + flow */ in fill_packet_ipv6()
3018 *(__be32 *)iph |= htonl(0x60000000 | (pkt_dev->traffic_class << 20)); in fill_packet_ipv6()