Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/core/
Dpktgen.c465 struct pktgen_hdr *pgh = NULL; in fill_packet() local
517 pgh = (struct pktgen_hdr *)skb_put(skb, datalen); in fill_packet()
523 pgh = (struct pktgen_hdr*)(((char*)(udph)) + 8); in fill_packet()
569 if (pgh) { in fill_packet()
570 pgh->pgh_magic = htonl(PKTGEN_MAGIC); in fill_packet()
571 do_gettimeofday(&(pgh->timestamp)); in fill_packet()
572 pgh->timestamp.tv_usec = htonl(pgh->timestamp.tv_usec); in fill_packet()
573 pgh->timestamp.tv_sec = htonl(pgh->timestamp.tv_sec); in fill_packet()
574 pgh->seq_num = htonl(info->seq_num); in fill_packet()