Searched refs:kcmd (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_rules.c288 ilb_rule_cmd_t kcmd; local
290 kcmd.cmd = ILB_LIST_RULE;
291 (void) strlcpy(kcmd.name, rl->rl_name, sizeof (kcmd.name));
292 kcmd.flags = 0;
294 rc = do_ioctl(&kcmd, 0);
298 rl->rl_flags = kcmd.flags;
299 rl->rl_ipversion = IPPROTO_2_AF(kcmd.ip_ver);
300 rl->rl_vip = kcmd.vip;
301 rl->rl_proto = kcmd
365 ilb_name_cmd_t kcmd; local
416 ilb_name_cmd_t kcmd; local
458 ilb_name_cmd_t kcmd; local
831 ilb_name_cmd_t kcmd; local
953 ilb_rule_cmd_t *kcmd; local
988 ilb_servers_info_cmd_t *kcmd = *kcmdp; local
1022 ilb_servers_info_cmd_t *kcmd = NULL; local
1110 ilb_rule_cmd_t *kcmd = NULL; local
1251 ilb_servers_info_cmd_t kcmd; local
1349 ilb_servers_cmd_t kcmd; local
[all...]
H A Dilbd_nat.c80 ilb_list_nat_cmd_t *kcmd; local
128 if ((kcmd = malloc(kbufsz)) == NULL) {
134 kcmd->cmd = ILB_LIST_NAT_TABLE;
135 kcmd->flags = start ? ILB_LIST_BEGIN : ILB_LIST_CONT;
136 kcmd->num_nat = max_num;
137 if ((ret = do_ioctl(kcmd, kbufsz)) != ILB_STATUS_OK) {
140 free(kcmd);
144 reply->sn_num = kcmd->num_nat;
151 if (kcmd->flags & ILB_LIST_END) {
163 for (i = 0; i < kcmd
201 ilb_list_sticky_cmd_t *kcmd; local
[all...]
H A Dilbd_support.c194 ilb_servers_info_cmd_t *kcmd = (ilb_servers_info_cmd_t *)cmdp; local
196 sz = sizeof (*kcmd) + ((kcmd->num_servers - 1) *
197 sizeof (kcmd->servers));
201 ilb_rule_names_cmd_t *kcmd = (ilb_rule_names_cmd_t *)cmdp; local
203 sz = sizeof (*kcmd) +
204 ((kcmd->num_names - 1) * sizeof (kcmd->buf));
210 ilb_servers_cmd_t *kcmd = (ilb_servers_cmd_t *)cmdp; local
212 sz = sizeof (*kcmd)
[all...]
H A Dilbd_main.c149 ilb_name_cmd_t kcmd; local
151 kcmd.cmd = ILB_DESTROY_RULE;
152 kcmd.flags = ILB_RULE_ALLRULES;
153 kcmd.name[0] = '\0';
155 rc = do_ioctl(&kcmd, 0);
H A Dilbd_sg.c1163 ilb_servers_cmd_t kcmd; local
1166 kcmd.cmd = i_srvcmd_d2k(cmd);
1167 (void) strlcpy(kcmd.name, rlname, sizeof (kcmd.name));
1168 kcmd.num_servers = 1;
1170 kcmd.servers[0].addr = *addr;
1171 kcmd.servers[0].err = 0;
1173 rc = do_ioctl(&kcmd, 0);
1177 if ((e = kcmd.servers[0].err) != 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dkrb5defs.h42 #include <kcmd.h>
H A DMakefile29 KCMDOBJS= kcmd.o
H A Ddocmd.c343 status = kcmd(&rem, &rhost, port,
369 "kcmd to host %s failed - %s\n"
377 * kcmd() failed, so we now fallback to normal rdist
390 gettext("[kcmd ver.1].\n"));
393 gettext("[kcmd ver.2].\n"));
/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dkcmd.h94 * Prototypes for functions in 'kcmd.c'
98 int kcmd(int *sock, char **ahost, ushort_t rport, char *locuser,
H A Dkcmd.c49 #include <kcmd.h>
82 kcmd(int *sock, char **ahost, ushort_t rport, function
141 (void) fprintf(stderr, gettext("kcmd: no memory\n"));
149 (void) fprintf(stderr, gettext("kcmd: no memory\n"));
160 gettext("kcmd: "
377 gettext("kcmd: Error getting"
396 (void) fprintf(stderr, gettext("kcmd: bad connection "
442 * for compatablilty with version 5 krb library, since kcmd.o is linked
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A DMakefile53 COMMONOBJS= kcmd.o
61 CLEANFILES += kcmd.o rcp.o rlogin.o rsh.o
H A Drsh.c42 #include <kcmd.h>
560 * they will be reset in kcmd
567 status = kcmd(&rem, &host, portnumber,
591 gettext("rsh: kcmd to host %s failed - %s\n"
599 * kcmd() failed, so we now fallback to normal rsh,
H A Drlogin.c77 #include <kcmd.h>
643 /* they will be reset in kcmd */
649 status = kcmd(&sock, &host, port_number,
673 (void) fprintf(stderr, gettext("rlogin: kcmd "
682 * kcmd() failed, so we have to
H A Drcp.c123 #include <kcmd.h>
442 (void) fprintf(stderr, gettext("[kcmd ver.1]\n"));
444 (void) fprintf(stderr, gettext("[kcmd ver.2]\n"));
607 status = kcmd(&sock, &host,
641 gettext("rcp: kcmd to host "
652 * kcmd() failed, so we have to
834 status = kcmd(&sock, &host,
864 gettext("rcp: kcmd "
873 * kcmd() failed, so we have to
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A DMakefile99 COMMONOBJS= addr_match.o kcmd.o store_forw_creds.o
H A Din.rlogind.c65 #include <kcmd.h>
H A Din.rshd.c83 #include <kcmd.h>

Completed in 104 milliseconds