Home
last modified time | relevance | path

Searched refs:rip_cmd (Results 1 – 16 of 16) sorted by relevance

/original-bsd/sbin/XNSrouted/
H A Dtrace.c233 if (msg->rip_cmd && ntohs(msg->rip_cmd) < RIPCMD_MAX)
234 fprintf(fd, "%s %s %s#%x", ripcmds[ntohs(msg->rip_cmd)],
237 fprintf(fd, "Bad cmd 0x%x %s %s#%x\n", ntohs(msg->rip_cmd),
242 switch (ntohs(msg->rip_cmd)) {
H A Dprotocol.h24 u_short rip_cmd; /* request/response */ member
H A Dinput.c59 switch (ntohs(msg->rip_cmd)) {
97 msg->rip_cmd = htons(RIPCMD_RESPONSE);
H A Dtimer.c68 msg->rip_cmd = htons(RIPCMD_RESPONSE); in timer()
H A Doutput.c79 msg->rip_cmd = ntohs(RIPCMD_RESPONSE);
H A Daf.c92 if(do_output || ntohs(msg->rip_cmd) == RIPCMD_REQUEST)
H A Dmain.c129 msg->rip_cmd = htons(RIPCMD_REQUEST);
/original-bsd/sbin/routed/trace/
H A Dtrace.c62 msg->rip_cmd = strcmp(*argv, "on") == 0 ?
67 if (msg->rip_cmd == RIPCMD_TRACEON) {
/original-bsd/sbin/routed/
H A Dinput.c40 from->sa_family, rip->rip_cmd);
46 (*afswitch[from->sa_family].af_format)(from), rip->rip_cmd);
49 switch (rip->rip_cmd) {
101 rip->rip_cmd = RIPCMD_RESPONSE;
119 if (rip->rip_cmd == RIPCMD_TRACEON)
H A Dtrace.c341 if (msg->rip_cmd && msg->rip_cmd < RIPCMD_MAX)
342 fprintf(fd, "%s %s %s.%d %.19s:\n", ripcmds[msg->rip_cmd],
346 fprintf(fd, "Bad cmd 0x%x %s %x.%d %.19s\n", msg->rip_cmd,
357 switch (msg->rip_cmd) {
H A Drouted.c160 msg->rip_cmd = RIPCMD_REQUEST;
429 msg->rip_cmd = RIPCMD_RESPONSE; in timer()
488 msg->rip_cmd = RIPCMD_RESPONSE;
525 if (msg->rip_cmd < RIPCMD_MAX)
526 printf("%s from %x\n", ripcmds[msg->rip_cmd],
529 printf("%x from %x\n", msg->rip_cmd,
535 switch (msg->rip_cmd) {
561 msg->rip_cmd = RIPCMD_RESPONSE;
646 tprintf("bad packet, cmd=%x\n", msg->rip_cmd);
H A Doutput.c79 msg->rip_cmd = RIPCMD_RESPONSE;
H A Dmain.c139 query->rip_cmd = RIPCMD_REQUEST;
/original-bsd/include/protocols/
H A Drouted.h28 u_char rip_cmd; /* request/response */ member
/original-bsd/sbin/XNSrouted/tools/
H A Dquery.c116 msg->rip_cmd = htons(RIPCMD_REQUEST);
146 if (htons(msg->rip_cmd) != RIPCMD_RESPONSE)
/original-bsd/sbin/routed/query/
H A Dquery.c142 msg->rip_cmd = RIPCMD_REQUEST;
165 if (msg->rip_cmd != RIPCMD_RESPONSE)