Lines Matching refs:htonl
183 #define MPLS_STACK_BOTTOM htonl(0x00000100)
836 pkt_dev->labels[n] = htonl(tmp); in get_labels()
2286 x = xfrm_state_lookup_byspi(pn->net, htonl(pkt_dev->spi), AF_INET); in get_ipsec_sa()
2400 htonl(0x000fffff)); in mod_cur_headers()
2451 pkt_dev->cur_saddr = htonl(t); in mod_cur_headers()
2467 s = htonl(t); in mod_cur_headers()
2480 pkt_dev->cur_daddr = htonl(t); in mod_cur_headers()
2710 pgh->pgh_magic = htonl(PKTGEN_MAGIC); in pktgen_finalize_skb()
2711 pgh->seq_num = htonl(pkt_dev->seq_num); in pktgen_finalize_skb()
2718 pgh->tv_sec = htonl(timestamp.tv_sec); in pktgen_finalize_skb()
2719 pgh->tv_usec = htonl(timestamp.tv_usec); in pktgen_finalize_skb()
2963 *(__be32 *) iph = htonl(0x60000000); /* Version + flow */ in fill_packet_ipv6()
2967 *(__be32 *)iph |= htonl(0x60000000 | (pkt_dev->traffic_class << 20)); in fill_packet_ipv6()