Home
last modified time | relevance | path

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

/Linux-v6.6/net/core/
Dpktgen.c2753 struct pktgen_hdr *pgh; in pktgen_finalize_skb() local
2755 pgh = skb_put(skb, sizeof(*pgh)); in pktgen_finalize_skb()
2756 datalen -= sizeof(*pgh); in pktgen_finalize_skb()
2810 pgh->pgh_magic = htonl(PKTGEN_MAGIC); in pktgen_finalize_skb()
2811 pgh->seq_num = htonl(pkt_dev->seq_num); in pktgen_finalize_skb()
2814 pgh->tv_sec = 0; in pktgen_finalize_skb()
2815 pgh->tv_usec = 0; in pktgen_finalize_skb()
2826 pgh->tv_sec = htonl(timestamp.tv_sec); in pktgen_finalize_skb()
2827 pgh->tv_usec = htonl(timestamp.tv_nsec / NSEC_PER_USEC); in pktgen_finalize_skb()