Searched refs:pkthdr (Results 1 - 6 of 6) sorted by relevance
/macosx-10.10.1/libpcap-48/libpcap/ |
H A D | 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);
|
H A D | pcap-bpf.c | 1107 struct pcap_pkthdr pkthdr; local 1110 pkthdr.ts.tv_sec = bhep->bh_tstamp.tv_sec; 1113 pkthdr.ts.tv_sec = bhp->bh_tstamp.tv_sec; 1119 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec/1000; 1123 pkthdr.ts.tv_usec = bhep->bh_tstamp.tv_usec; 1125 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec; 1129 pkthdr.caplen = caplen - pad; 1131 pkthdr.caplen = 0; 1133 pkthdr.len = datalen - pad; 1135 pkthdr [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/ |
H A D | kernel_types.h | 119 typedef struct pkthdr* pkthdr_t;
|
H A D | mbuf.h | 104 #define _MHLEN (_MLEN - sizeof(struct pkthdr)) /* data len w/pkthdr */ 283 struct pkthdr { struct 471 struct pkthdr MH_pkthdr; /* M_PKTHDR set */ 505 /* mbuf pkthdr flags, also in m_flags (private) */ 676 * Copy mbuf pkthdr from from to to. 1088 #define M_COPYM_NOOP_HDR 0 /* don't copy/move pkthdr contents */ 1089 #define M_COPYM_COPY_HDR 1 /* copy pkthdr from old to new */ 1090 #define M_COPYM_MOVE_HDR 2 /* move pkthdr from old to new */ 1091 #define M_COPYM_MUST_COPY_HDR 3 /* MUST copy pkthdr fro [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/net/classq/ |
H A D | classq_sfb.c | 249 static inline int sfb_pcheck(struct sfb *, struct pkthdr *); 250 static int sfb_penalize(struct sfb *, struct pkthdr *, struct timespec *); 257 static inline void sfb_dq_update_bins(struct sfb *, struct pkthdr *, 259 static inline void sfb_eq_update_bins(struct sfb *, struct pkthdr *); 260 static int sfb_drop_early(struct sfb *, struct pkthdr *, u_int16_t *, 262 static boolean_t sfb_bin_addfcentry(struct sfb *, struct pkthdr *); 714 sfb_pcheck(struct sfb *sp, struct pkthdr *pkt) 753 sfb_penalize(struct sfb *sp, struct pkthdr *pkt, struct timespec *now) 851 sfb_dq_update_bins(struct sfb *sp, struct pkthdr *pkt, 934 sfb_eq_update_bins(struct sfb *sp, struct pkthdr *pk [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/ |
H A D | uipc_mbuf.c | 437 * pkthdr and m_ext structures. If auditing is enabled, we allocate 836 #define MBUF_INIT(m, pkthdr, type) { \ 841 if ((pkthdr) == 0) { \ 1441 sizeof (((struct pkthdr *)0)->redzone)); 3658 * "Move" mbuf pkthdr from "from" to "to". 3686 * Duplicate "from"'s mbuf pkthdr in "to". 4123 int pkthdr; local 4147 pkthdr = (nsegs == 1 || (num % nsegs) == 1); 4148 if (pkthdr) 4150 MBUF_INIT(m, pkthdr, MT_DAT [all...] |
Completed in 126 milliseconds