Home
last modified time | relevance | path

Searched refs:if_name (Results 1 – 25 of 30) sorted by relevance

12

/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Ddefaults.c160 df_get_string(const char *if_name, boolean_t isv6, uint_t param) in df_get_string() argument
197 (void) snprintf(paramstr, sizeof (paramstr), "%s%s", if_name, in df_get_string()
201 (void) snprintf(paramstr, sizeof (paramstr), "%s.%s", if_name, in df_get_string()
227 df_get_int(const char *if_name, boolean_t isv6, uint_t param) in df_get_int() argument
235 value = df_get_string(if_name, isv6, param); in df_get_int()
264 df_get_bool(const char *if_name, boolean_t isv6, uint_t param) in df_get_bool() argument
271 value = df_get_string(if_name, isv6, param); in df_get_bool()
H A Dagent.c1052 (void) strlcpy(status.if_name, dsmp->dsm_name, LIFNAMSIZ); in ipc_event()
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dsysevent_events.c66 char if_name[LIFNAMSIZ]; in sysevent_handler() local
102 (void) snprintf(if_name, LIFNAMSIZ, "%s%d", driver, instance); in sysevent_handler()
106 if (!nwamd_link_belongs_to_this_zone(if_name)) in sysevent_handler()
110 link_event = nwamd_event_init_link_action(if_name, in sysevent_handler()
H A Drouting_events.c116 char *addrs, *if_name; in routing_events_v4() local
193 if_name = addr_dl->sdl_data; /* no lifnum */ in routing_events_v4()
209 ip_event = nwamd_event_init_if_state(if_name, in routing_events_v4()
231 char *addrs, *if_name; in routing_events_v6() local
317 if_name = addr_dl->sdl_data; /* no lifnum */ in routing_events_v6()
333 ip_event = nwamd_event_init_if_state(if_name, in routing_events_v6()
/titanic_41/usr/src/lib/libsocket/inet/
H A Dinterface_id.c295 if (strncmp(interface_entry[i].if_name, in if_nameindex()
320 if ((interface_entry[physinterf_num].if_name = in if_nameindex()
336 interface_entry[physinterf_num].if_name = NULL; in if_nameindex()
360 for (p = ptr; p->if_name != NULL; p++) in if_freenameindex()
361 free(p->if_name); in if_freenameindex()
/titanic_41/usr/src/cmd/dtrace/demo/ip/
H A Dipio.d40 args[2]->ip_saddr, args[2]->ip_daddr, args[3]->if_name,
49 args[2]->ip_daddr, args[2]->ip_saddr, args[3]->if_name,
/titanic_41/usr/src/cmd/ipf/tools/
H A Dip_fil.c547 sprintf(fname, "/tmp/%s%d", ifp->if_name, ifp->if_unit);
691 ifp->if_name = (char *)malloc(s - name + 1);
692 if (ifp->if_name == NULL) {
700 (void) strncpy(ifp->if_name, name, s - name);
701 ifp->if_name[s - name] = '\0';
703 ifp->if_name = strdup(name);
726 sprintf(ifname, "%s%d", ifp->if_name, ifp->if_unit);
755 sprintf(fname, "/tmp/%s%d", ifp->if_name, ifp->if_unit); in init_ifp()
/titanic_41/usr/src/uts/common/sys/ib/clients/rds/
H A Drds_transport.h42 boolean_t (*rds_transport_if_lookup_by_name)(char *if_name);
H A Drds.h153 extern boolean_t rds_if_lookup_by_name(char *if_name);
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipmpstat/
H A Dipmpstat.c514 (void) strlcat(buf, ifinfop->if_name, bufsize); in sfunc_addr_outbound()
595 (void) strlcat(active, ifinfop->if_name, bufsize); in sfunc_group_interfaces()
599 (void) strlcat(inactive, ifinfop->if_name, bufsize); in sfunc_group_interfaces()
603 (void) strlcat(unusable, ifinfop->if_name, bufsize); in sfunc_group_interfaces()
637 (void) strlcpy(buf, ifinfop->if_name, bufsize); in sfunc_if_name()
706 if (strcmp(grinfop->gr_m4ifname, ifinfop->if_name) == 0) in sfunc_if_flags()
709 if (strcmp(grinfop->gr_m6ifname, ifinfop->if_name) == 0) in sfunc_if_flags()
712 if (strcmp(grinfop->gr_bcifname, ifinfop->if_name) == 0) in sfunc_if_flags()
/titanic_41/usr/src/cmd/ipf/lib/common/
H A Dgetifname.c59 if (kstrncpy(buf, (u_long)netif.if_name, sizeof(buf)) == -1)
/titanic_41/usr/src/uts/common/inet/ipf/
H A Dip_log.c345 if ((ipfl.fl_ifname[0] = ifp->if_name[0]))
346 if ((ipfl.fl_ifname[1] = ifp->if_name[1]))
347 if ((ipfl.fl_ifname[2] = ifp->if_name[2]))
348 ipfl.fl_ifname[3] = ifp->if_name[3];
/titanic_41/usr/src/lib/libipmp/common/
H A Dipmp_query.c445 if (!hasnulbyte(ifinfop->if_name, LIFNAMSIZ) || in ipmp_checktlv()
598 (void) strlcpy(ifinfop->if_name, name, LIFNAMSIZ); in ipmp_ifinfo_create()
630 return (ipmp_ifinfo_create(ifinfop->if_name, ifinfop->if_group, in ipmp_ifinfo_clone()
892 if (ipmp_snap_getifinfo(snap, ifinfop->if_name) != NULL) in ipmp_snap_addifinfo()
963 if (strcmp(iflp->ifl_ifinfop->if_name, name) == 0) in ipmp_snap_getifinfo()
H A Dipmp_query.h145 char if_name[LIFNAMSIZ]; member
/titanic_41/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.h216 char if_name[LIFNAMSIZ]; member
H A Ddhcpagent_util.c244 status->if_name, dhcp_state_to_string(status->if_state), in dhcp_status_reply_to_string()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipgpc.types33 filter if_name ifname
/titanic_41/usr/src/uts/common/inet/
H A Dipnet.h103 char if_name[LIFNAMSIZ]; member
/titanic_41/usr/src/uts/common/net/
H A Dif.h63 char *if_name; /* name, e.g. ``en'' or ``lo'' */ member
713 char *if_name; /* if name, e.g. "en0" */ member
/titanic_41/usr/src/uts/common/inet/ipnet/
H A Dipnet.c1301 (void) strlcpy(ipnetif->if_name, name, LIFNAMSIZ); in ipnetif_create()
1847 (void) strlcpy(cbnode->ic_ifname, ipnetif->if_name, LIFNAMSIZ); in ipnet_walk_if()
1876 res = strcmp(((ipnetif_t *)ipnetifp)->if_name, name_ptr); in ipnetif_compare_name()
1891 res = strcmp(ifp->if_name, (char *)ptr[1]); in ipnetif_compare_name_zone()
2086 return (ifp->if_name); in ipnet_name()
2333 uintptr_t key[2] = { zoneid, (uintptr_t)ifp->if_name }; in ipnetif_clone_create()
2356 (void) strlcpy(newif->if_name, ifp->if_name, LIFNAMSIZ); in ipnetif_clone_create()
/titanic_41/usr/src/lib/libbc/inc/include/net/
H A Dif.h46 char *if_name; /* name, e.g. ``en'' or ``lo'' */ member
/titanic_41/usr/src/lib/libipadm/common/
H A Dipadm_prop.c941 char if_name[IF_NAMESIZE]; in i_ipadm_get_usesrc() local
960 (void) strlcpy(if_name, IPADM_NONESTR, in i_ipadm_get_usesrc()
961 sizeof (if_name)); in i_ipadm_get_usesrc()
962 } else if (if_indextoname(lifr.lifr_index, if_name) == NULL) { in i_ipadm_get_usesrc()
965 nbytes = snprintf(buf, *bufsize, "%s", if_name); in i_ipadm_get_usesrc()
/titanic_41/usr/src/lib/libdtrace/common/
H A Dip.d.in123 string if_name; /* interface name */ member
255 if_name = I != NULL ? stringof(I->ill_name) : "<null>";
/titanic_41/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Drdsv3.h742 extern boolean_t rdsv3_if_lookup_by_name(char *if_name);
/titanic_41/usr/src/cmd/sendmail/cf/m4/
H A Dcfhead.m4306 define(`confMILTER_MACROS_CONNECT', ``j, _, {daemon_name}, {if_name}, {if_addr}'')

12