HomeSort by relevance Sort by last modified time
    Searched refs:pkthdr (Results 1 - 4 of 4) sorted by null

  /external/libpcap/
dlpisubs.c 131 struct pcap_pkthdr pkthdr; local
185 pkthdr.ts.tv_sec = sbp->sbh_timestamp.tv_sec;
186 pkthdr.ts.tv_usec = sbp->sbh_timestamp.tv_usec;
188 (void) gettimeofday(&pkthdr.ts, NULL);
190 pkthdr.len = origlen;
191 pkthdr.caplen = caplen;
193 if (pkthdr.caplen > p->snapshot)
194 pkthdr.caplen = p->snapshot;
195 (*callback)(user, &pkthdr, pk);
pcap-bpf.c 1012 struct pcap_pkthdr pkthdr; local
1014 pkthdr.ts.tv_sec = bhp->bh_tstamp.tv_sec;
1020 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec/1000;
1022 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec;
1026 pkthdr.caplen = caplen - pad;
1028 pkthdr.caplen = 0;
1030 pkthdr.len = bhp->bh_datalen - pad;
1032 pkthdr.len = 0;
1035 pkthdr.caplen = caplen;
1036 pkthdr.len = bhp->bh_datalen
    [all...]
  /external/chromium_org/third_party/usrsctp/usrsctplib/
user_mbuf.h 167 #define MHLEN ((int)(MLEN - sizeof(struct pkthdr))) /* data len w/pkthdr */
199 struct pkthdr { struct
235 struct pkthdr MH_pkthdr; /* M_PKTHDR set */
284 * mbuf pkthdr flags (also stored in m_flags).
432 ("%s: MH_ALIGN not PKTHDR mbuf", __func__)); \
user_mbuf.c 81 static int mbuf_constructor_dup(struct mbuf *m, int pkthdr, short type)
83 int flags = pkthdr;
682 * "Move" mbuf pkthdr from "from" to "to".
1075 * Duplicate "from"'s mbuf pkthdr in "to".
    [all...]

Completed in 106 milliseconds