Home
last modified time | relevance | path

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

/Linux-v4.19/net/core/
Dpktgen.c2623 struct pktgen_hdr *pgh; in pktgen_finalize_skb() local
2625 pgh = skb_put(skb, sizeof(*pgh)); in pktgen_finalize_skb()
2626 datalen -= sizeof(*pgh); in pktgen_finalize_skb()
2677 pgh->pgh_magic = htonl(PKTGEN_MAGIC); in pktgen_finalize_skb()
2678 pgh->seq_num = htonl(pkt_dev->seq_num); in pktgen_finalize_skb()
2681 pgh->tv_sec = 0; in pktgen_finalize_skb()
2682 pgh->tv_usec = 0; in pktgen_finalize_skb()
2693 pgh->tv_sec = htonl(timestamp.tv_sec); in pktgen_finalize_skb()
2694 pgh->tv_usec = htonl(timestamp.tv_nsec / NSEC_PER_USEC); in pktgen_finalize_skb()