Lines Matching refs:atp
70 #include <netat/atp.h>
592 register at_atp_t *atp;
769 atp = (at_atp_t *)(gbuf_rptr(m)+DDP_X_HDR_SIZE);
771 atp = (at_atp_t *)(gbuf_rptr(gbuf_cont(m)));
775 *((u_long*)user_bytes) = UAL_VALUE(atp->user_bytes);
1159 register at_atp_t *atp;
1177 atp = (at_atp_t *)(gbuf_rptr(m)+DDP_X_HDR_SIZE);
1179 atp = (at_atp_t *)(gbuf_rptr(gbuf_cont(m)));
1181 *((u_long*)user_bytes) = UAL_VALUE(atp->user_bytes);
1214 at_atp_t *atp;
1243 atp = (at_atp_t *)(gbuf_rptr(m) + DDP_X_HDR_SIZE);
1245 atp = (at_atp_t *)(gbuf_rptr(gbuf_cont(m)));
1259 /* fill up the atp header */
1266 UAS_UAS(r_atp->tid, atp->tid);
1270 /* fill up atp data part */
1578 at_atp_t *atp;
1602 atp = (at_atp_t *)(gbuf_rptr(m) + DDP_X_HDR_SIZE);
1604 atp = (at_atp_t *)(gbuf_rptr(gbuf_cont(m)));
1621 /* fill up the atp header */
1628 UAS_UAS(r_atp->tid, atp->tid);
1635 * fill up atp data part with the zone name if we can find it...
1674 at_atp_t *atp;
1686 atp = (at_atp_t *)(gbuf_rptr(m) + DDP_X_HDR_SIZE);
1688 atp = (at_atp_t *)(gbuf_rptr(gbuf_cont(m)));
1714 /* fill up the atp header */
1722 UAS_UAS(r_atp->tid, atp->tid);
1728 StartPoint = (UAL_VALUE_NTOH(atp->user_bytes) & 0xffff) -1;
1741 * fill up atp data part with the zone name if we can find it...
1800 at_atp_t *atp;
1820 atp = (at_atp_t *)(gbuf_rptr(m) + DDP_X_HDR_SIZE);
1822 atp = (at_atp_t *)(gbuf_rptr(gbuf_cont(m)));
1840 Index_wanted = (UAL_VALUE_NTOH(atp->user_bytes) & 0xffff) -1;
1959 /* fill up the atp header */
1966 UAS_UAS(r_atp->tid, atp->tid);