Lines Matching refs:u_char
120 #define OPT_A2OR 0x800 /* for o_bool, OR arg to *(u_char *)addr2 */
129 #define OPT_A2CLRB 0x10000 /* o_bool, clr val bits in *(u_char *)addr2 */
217 extern u_char outpacket_buf[]; /* Buffer for outgoing packets */
402 void (*input) __P((int unit, u_char *pkt, int len));
414 int (*printpkt) __P((u_char *pkt, int len,
418 void (*datainput) __P((int unit, u_char *pkt, int len));
428 int (*active_pkt) __P((u_char *pkt, int len));
510 void log_packet __P((u_char *, int, char *, int));
527 void dump_packet __P((const char *, u_char *, int));
613 void output __P((int, u_char *, int)); /* Output a PPP packet */
618 int read_packet __P((u_char *)); /* Read PPP packet */
626 int ccp_test __P((int, u_char *, int, int));
677 int get_if_hwaddr __P((u_char *addr, char *name));
734 * cp MUST be u_char *.
740 *(cp)++ = (u_char) (c); \
749 *(cp)++ = (u_char) ((s) >> 8); \
750 *(cp)++ = (u_char) (s); \
760 *(cp)++ = (u_char) ((l) >> 24); \
761 *(cp)++ = (u_char) ((l) >> 16); \
762 *(cp)++ = (u_char) ((l) >> 8); \
763 *(cp)++ = (u_char) (l); \