/illumos-gate/usr/src/boot/sys/sys/ |
H A D | cdefs.h | 155 #define __P(protos) protos /* full-blown ANSI C */ macro 173 #define __P(protos) () /* traditional C preprocessor */ macro
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/ |
H A D | chat.c | 124 #undef __P 130 #define __P(x) x macro 134 #define __P(x) () macro 213 void *copy_of __P((char *s)); 214 void usage __P((void)); 221 void unalarm __P((void)); 222 void init __P((void)); 224 void echo_stderr __P((int)); 230 int write_char __P((int c)); 231 int put_char __P((int c)); [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | auth.c | 137 int (*pap_check_hook) __P((void)) = NULL; 145 void (*pap_logout_hook) __P((void)) = NULL; 207 static void network_phase __P((int)); 208 static void check_idle __P((void *)); 209 static void connect_time_expired __P((void *)); 211 static void plogout __P((void)); 212 static int null_login __P((int)); 213 static int get_pap_passwd __P((char *)); 214 static int have_pap_secret __P((int *)); 221 static void auth_script __P((char *)); [all …]
|
H A D | cbcp.c | 37 static int setcbcp __P((char **, option_t *)); 48 static void cbcp_init __P((int unit)); 49 static void cbcp_lowerup __P((int unit)); 50 static void cbcp_input __P((int unit, u_char *pkt, int len)); 51 static void cbcp_protrej __P((int unit)); 52 static int cbcp_printpkt __P((u_char *pkt, int len, 53 void (*printer) __P((void *, const char *, ...)), 81 static void cbcp_recvreq __P((cbcp_state *us, u_char *pckt, int len)); 82 static void cbcp_recvack __P((cbcp_state *us, u_char *pckt, int len)); 83 static void cbcp_send __P((cbcp_state *us, int code, u_char *buf, int len)); [all …]
|
H A D | ccp.c | 87 static void ccp_init __P((int unit)); 88 static void ccp_open __P((int unit)); 89 static void ccp_close __P((int unit, char *)); 90 static void ccp_lowerup __P((int unit)); 91 static void ccp_lowerdown __P((int)); 93 static void ccp_protrej __P((int unit)); 128 static void ccp_resetci __P((fsm *)); 129 static int ccp_cilen __P((fsm *)); 135 static void ccp_up __P((fsm *)); 136 static void ccp_down __P((fsm *)); [all …]
|
H A D | chap.c | 72 static void ChapInit __P((int)); 73 static void ChapLowerUp __P((int)); 74 static void ChapLowerDown __P((int)); 75 static void ChapInput __P((int, u_char *, int)); 76 static void ChapProtocolReject __P((int)); 77 static int ChapPrintPkt __P((u_char *, int, 103 static void ChapChallengeTimeout __P((void *)); 104 static void ChapResponseTimeout __P((void *)); 106 static void ChapRechallenge __P((void *)); 112 static void ChapSendResponse __P((chap_state *)); [all …]
|
H A D | chap.h | 138 void ChapAuthWithPeer __P((int, char *, int)); 139 void ChapAuthPeer __P((int, char *, int));
|
H A D | chap_ms.c | 86 static void ChallengeResponse __P((u_char *, u_char *, u_char *)); 87 static void DesEncrypt __P((u_char *, u_char *, u_char *)); 88 static void MakeKey __P((u_char *, u_char *)); 89 static u_char Get7Bits __P((u_char *, int)); 91 static void ChapMS_NT __P((u_char *, char *, int, MS_ChapResponse *)); 93 static void ChapMS_LANMan __P((u_char *, char *, int, MS_ChapResponse *)); 97 static void ChapMSv2_NT __P((char *, u_char *, char *, int, 102 static void Expand __P((u_char *, char *)); 103 static void Collapse __P((char *, u_char *));
|
H A D | chap_ms.h | 33 void ChapMS __P((chap_state *, u_char *, int, char *, int)); 34 void ChapMSv2 __P((chap_state *, u_char *, int, char *, int)); 35 int ChapMSValidate __P((chap_state *cstate, u_char *response, int response_len, 37 int ChapMSv2Validate __P((chap_state *cstate, char *rhostname,
|
H A D | demand.c | 62 static int active_packet __P((unsigned char *, int));
|
H A D | eui64.h | 98 char *eui64_ntoa __P((eui64_t));
|
H A D | fsm.c | 39 static void fsm_timeout __P((void *)); 40 static void fsm_rconfreq __P((fsm *, int, u_char *, int)); 41 static void fsm_rconfack __P((fsm *, int, u_char *, int)); 42 static void fsm_rconfnakrej __P((fsm *, int, int, u_char *, int)); 43 static void fsm_rtermreq __P((fsm *, int, u_char *, int)); 44 static void fsm_rtermack __P((fsm *)); 45 static void fsm_rcoderej __P((fsm *, u_char *, int)); 46 static void fsm_sconfreq __P((fsm *, int)); 549 int (*proc) __P((fsm *, u_char *, int));
|
H A D | fsm.h | 103 __P((fsm *)); 105 __P((fsm *)); 109 __P((fsm *, u_char *, int)); 111 __P((fsm *, u_char *, int)); 117 __P((fsm *)); 119 __P((fsm *)); 121 __P((fsm *)); 123 __P((fsm *)); 125 __P((fsm *)); 172 void fsm_init __P((fsm *)); [all …]
|
H A D | ipcp.c | 53 void (*ip_up_hook) __P((void)) = NULL; 56 void (*ip_down_hook) __P((void)) = NULL; 103 static int setvjslots __P((char **)); 104 static int setdnsaddr __P((char **)); 105 static int setwinsaddr __P((char **)); 106 static int autoproxyarp __P((char **)); 171 static void ipcp_init __P((int)); 172 static void ipcp_open __P((int)); 174 static void ipcp_lowerup __P((int)); 175 static void ipcp_lowerdown __P((int)); [all …]
|
H A D | ipcp.h | 75 extern char *ip_ntoa __P((u_int32_t)); 76 extern char *tcp_flag_decode __P((int));
|
H A D | ipv6cp.c | 211 static void ipv6cp_init __P((int)); 212 static void ipv6cp_open __P((int)); 213 static void ipv6cp_close __P((int, char *)); 214 static void ipv6cp_lowerup __P((int)); 215 static void ipv6cp_lowerdown __P((int)); 217 static void ipv6cp_protrej __P((int)); 218 static int ipv6cp_printpkt __P((u_char *, int, 220 static void ipv6_check_options __P((void)); 221 static int ipv6_demand_conf __P((int)); 222 static int ipv6_active_pkt __P((u_char *, int)); [all …]
|
H A D | lcp.c | 83 static int setescape __P((char **, option_t *)); 272 static void lcp_echo_lowerup __P((int)); 273 static void lcp_echo_lowerdown __P((int)); 274 static void LcpEchoTimeout __P((void *)); 276 static void LcpSendEchoRequest __P((fsm *)); 277 static void LcpLinkFailure __P((fsm *)); 278 static void LcpEchoCheck __P((fsm *)); 287 static void lcp_timeremaining __P((void *)); 314 static void lcp_init __P((int)); 316 static void lcp_protrej __P((int)); [all …]
|
H A D | lcp.h | 154 void lcp_open __P((int)); 155 void lcp_close __P((int, char *)); 156 void lcp_lowerup __P((int)); 157 void lcp_lowerdown __P((int)); 158 void lcp_sprotrej __P((int, u_char *, int)); /* send protocol reject */ 159 void lcp_settimeremaining __P((int, u_int32_t, u_int32_t)); 164 extern char *epdisc_to_str __P((struct epdisc *)); 166 extern int str_to_epdisc __P((struct epdisc *, char *));
|
H A D | magic.c | 30 long mrand48 __P((void)); 31 void srand48 __P((long));
|
H A D | magic.h | 22 void magic_init __P((void)); /* Initialize the magic number generator */ 23 u_int32_t magic __P((void)); /* Returns the next magic number */
|
H A D | main.c | 212 static void cleanup __P((void)); 213 static void close_tty __P((void)); 214 static void get_input __P((void)); 217 static void kill_my_pg __P((int)); 218 static void hup __P((int)); 219 static void term __P((int)); 220 static void chld __P((int)); 222 static void open_ccp __P((int)); 243 int main __P((int, char *[])); 1618 void (*func) __P((void *)); [all …]
|
H A D | multilink.c | 48 static int get_default_epdisc __P((struct epdisc *)); 49 static int parse_num __P((char *str, const char *key, int *valp)); 50 static int owns_unit __P((TDB_DATA pid, int unit));
|
H A D | options.c | 64 char *strdup __P((char *)); 144 static int setdevname __P((char *)); 145 static int setipaddr __P((char *)); 146 static int setspeed __P((char *)); 147 static int noopt __P((char **, option_t *)); 151 static int readfile __P((char **, option_t *)); 152 static int callfile __P((char **, option_t *)); 154 static int showhelp __P((char **, option_t *)); 156 static void usage __P((void)); 167 static int n_arguments __P((option_t *opt)); [all …]
|
H A D | pppd.h | 354 void (*init) __P((int unit)); 358 void (*protrej) __P((int unit)); 360 void (*lowerup) __P((int unit)); 364 void (*open) __P((int unit)); 472 extern void link_down __P((int)); 491 extern void auth_reset __P((int)); 630 extern int cipxfaddr __P((int)); 636 extern int sif6up __P((int unit)); 638 extern int sif6mtu __P((int mtu)); 644 extern int sifmtu __P((int mtu)); [all …]
|
H A D | sys-solaris.c | 130 int (*sys_read_packet_hook) __P((int retv, struct strbuf *ctrl, 179 static int translate_speed __P((int)); 180 static int baud_rate_of __P((int)); 182 static int strioctl __P((int, int, void *, int, int)); 183 static int plumb_ipif __P((int)); 184 static int unplumb_ipif __P((int)); 186 static int plumb_ip6if __P((int)); 187 static int unplumb_ip6if __P((int)); 192 static int giflags __P((u_int32_t, bool *)); 193 static void handle_unbind __P((u_int32_t)); [all …]
|