Lines Matching defs:ifname
334 vrrpd_lookup_vr_by_vrid(char *ifname, vrid_t vrid, int af)
339 if (strcmp(vr->vvr_conf.vvc_link, ifname) == 0 &&
361 vrrpd_lookup_if(const char *ifname, int af)
366 if (strcmp(ifname, intf->vvi_ifname) == 0 &&
375 vrrpd_create_if(const char *ifname, int af, uint32_t ifindex,
381 ifname, af_str(af), ifindex);
385 "allocate %s/%s interface", ifname, af_str(af));
391 (void) strlcpy(intf->vvi_ifname, ifname, sizeof (intf->vvi_ifname));
1636 char ifname[LIFNAMSIZ], *c;
1650 (void) strlcpy(ifname, lifname, sizeof (ifname));
1651 if ((c = strchr(ifname, ':')) != NULL)
1654 if ((intf = vrrpd_lookup_if(ifname, af)) == NULL) {
1655 vrrp_log(VRRP_DBG0, "vrrpd_add_ipaddr(): %s is new", ifname);
1656 err = vrrpd_create_if(ifname, af, ifindex, &intf);
1669 "from %d to %d", ifname, intf->vvi_ifindex, ifindex);
2866 vrrpd_list(vrid_t vrid, char *ifname, int af, vrrp_ret_list_t *ret,
2873 vrrp_log(VRRP_DBG0, "vrrpd_list(%d_%s_%s)", vrid, ifname, af_str(af));
2880 if (strlen(ifname) != 0 && strcmp(ifname,