Searched refs:rip_cmd (Results 1 – 16 of 16) sorted by relevance
/original-bsd/sbin/XNSrouted/ |
H A D | trace.c | 233 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 D | protocol.h | 24 u_short rip_cmd; /* request/response */ member
|
H A D | input.c | 59 switch (ntohs(msg->rip_cmd)) { 97 msg->rip_cmd = htons(RIPCMD_RESPONSE);
|
H A D | timer.c | 68 msg->rip_cmd = htons(RIPCMD_RESPONSE); in timer()
|
H A D | output.c | 79 msg->rip_cmd = ntohs(RIPCMD_RESPONSE);
|
H A D | af.c | 92 if(do_output || ntohs(msg->rip_cmd) == RIPCMD_REQUEST)
|
H A D | main.c | 129 msg->rip_cmd = htons(RIPCMD_REQUEST);
|
/original-bsd/sbin/routed/trace/ |
H A D | trace.c | 62 msg->rip_cmd = strcmp(*argv, "on") == 0 ? 67 if (msg->rip_cmd == RIPCMD_TRACEON) {
|
/original-bsd/sbin/routed/ |
H A D | input.c | 40 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 D | trace.c | 341 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 D | routed.c | 160 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 D | output.c | 79 msg->rip_cmd = RIPCMD_RESPONSE;
|
H A D | main.c | 139 query->rip_cmd = RIPCMD_REQUEST;
|
/original-bsd/include/protocols/ |
H A D | routed.h | 28 u_char rip_cmd; /* request/response */ member
|
/original-bsd/sbin/XNSrouted/tools/ |
H A D | query.c | 116 msg->rip_cmd = htons(RIPCMD_REQUEST); 146 if (htons(msg->rip_cmd) != RIPCMD_RESPONSE)
|
/original-bsd/sbin/routed/query/ |
H A D | query.c | 142 msg->rip_cmd = RIPCMD_REQUEST; 165 if (msg->rip_cmd != RIPCMD_RESPONSE)
|