Searched refs:MTOD (Results 1 - 10 of 10) sorted by relevance

/freebsd-11-stable/contrib/ipfilter/
H A Dbpf_filter.c129 cp = MTOD(m, u_char *) + k;
138 np = MTOD(m0, u_char *);
165 cp = MTOD(m, u_char *) + k;
174 return (cp[0] << 8) | MTOD(m0, u_char *)[0];
203 p = MTOD(m, u_char *);
261 A = MTOD(n, u_char *)[k];
308 A = MTOD(n, u_char *)[k];
321 X = (MTOD(n, char *)[k] & 0xf) << 2;
H A Dip_fil.c135 ip = MTOD(mb, ip_t *);
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprintpacket.c27 ip = MTOD(m, ip_t *);
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_compat.h332 # define MTOD(m, t) ((t)(m)->mb_data) macro
358 # define COPYDATA(m, o, l, b) bcopy(MTOD((mb_t *)m, char *) + (o), \
361 MTOD((mb_t *)m, char *) + (o), \
558 # ifndef MTOD
559 # define MTOD(m,t) mtod(m,t) macro
H A Dip_auth.c1054 error = copyoutptr(softc, MTOD(m, char *),
H A Dip_nat6.c2895 ip6 = MTOD(m, ip6_t *);
3293 ip6 = MTOD(m, ip6_t *);
3738 ip6 = MTOD(np->in_divmp, ip6_t *);
3825 hdr = MTOD(fin->fin_m, char *);
H A Dip_fil_freebsd.c1286 ip = MTOD(m, char *) + ipoff;
H A Dip_nat.c5217 ip = MTOD(m, ip_t *);
5666 ip = MTOD(m, ip_t *);
7353 ip = MTOD(np->in_divmp, ip_t *);
7469 hdr = MTOD(fin->fin_m, char *);
H A Dfil.c2927 fin->fin_ipoff = (char *)ip - MTOD(m, char *);
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dipftest.c207 ip = MTOD(m, ip_t *);

Completed in 263 milliseconds