Home
last modified time | relevance | path

Searched refs:LIFNAMSIZ (Results 1 – 25 of 102) sorted by relevance

12345

/titanic_41/usr/src/lib/libipmp/common/
H A Dipmp_query.h98 char il_ifs[1][LIFNAMSIZ];
102 IPMP_LIST_SIZE(iflist, LIFNAMSIZ, nif)
124 char gr_ifname[LIFNAMSIZ];
125 char gr_m4ifname[LIFNAMSIZ];
126 char gr_m6ifname[LIFNAMSIZ];
127 char gr_bcifname[LIFNAMSIZ];
135 char it_name[LIFNAMSIZ];
145 char if_name[LIFNAMSIZ];
163 char ad_binding[LIFNAMSIZ];
H A Dipmp_mpathd.h83 char mio_ifname[LIFNAMSIZ];
93 char miu_ifname[LIFNAMSIZ];
108 char miqu_ifname[LIFNAMSIZ];
H A Dipmp_query.c46 static ipmp_iflist_t *ipmp_iflist_create(uint_t, char (*)[LIFNAMSIZ]);
88 (void) strlcpy(query.miq_ifname, name, LIFNAMSIZ); in ipmp_sendquery()
436 if (!hasnulbyte(iflistp->il_ifs[i], LIFNAMSIZ)) in ipmp_checktlv()
445 if (!hasnulbyte(ifinfop->if_name, LIFNAMSIZ) || in ipmp_checktlv()
537 (void) strlcpy(targinfop->it_name, name, LIFNAMSIZ); in ipmp_targinfo_create()
557 ipmp_iflist_create(uint_t nif, char (*ifs)[LIFNAMSIZ]) in ipmp_iflist_create() argument
568 (void) strlcpy(iflistp->il_ifs[i], ifs[i], LIFNAMSIZ); in ipmp_iflist_create()
598 (void) strlcpy(ifinfop->if_name, name, LIFNAMSIZ); in ipmp_ifinfo_create()
642 ipmp_group_state_t state, uint_t nif, char (*ifs)[LIFNAMSIZ], in ipmp_groupinfo_create() argument
662 (void) strlcpy(grinfop->gr_ifname, grifname, LIFNAMSIZ); in ipmp_groupinfo_create()
[all …]
H A Dipmp_admin.c83 (void) strlcpy(mio.mio_ifname, ifname, LIFNAMSIZ); in ipmp_offline()
93 (void) strlcpy(miu.miu_ifname, ifname, LIFNAMSIZ); in ipmp_undo_offline()
H A Dipmp_query_impl.h93 ipmp_group_state_t, uint_t, char (*)[LIFNAMSIZ], const char *,
/titanic_41/usr/src/lib/libipadm/common/
H A Dipadm_ipmgmt.h141 char ia_ifname[LIFNAMSIZ];
159 char ia_ifname[LIFNAMSIZ];
166 char ia_ifname[LIFNAMSIZ];
191 char ia_ifname[LIFNAMSIZ];
212 char ia_ifname[LIFNAMSIZ];
258 char ir_ifname[LIFNAMSIZ];
H A Dipadm_if.c57 char cifname[LIFNAMSIZ]; in i_ipadm_is_if_down()
201 (void) strlcpy(getif.ia_ifname, ifname, LIFNAMSIZ); in i_ipadm_persist_if_info()
600 (void) snprintf(lifr.lifr_name, LIFNAMSIZ, "%s%d", in i_ipadm_slifname()
626 if (snprintf(newif, LIFNAMSIZ, "%s%d", ifname, in i_ipadm_slifname()
627 ppa) >= LIFNAMSIZ) in i_ipadm_slifname()
682 char newif[LIFNAMSIZ]; in i_ipadm_plumb_if()
683 char lifname[LIFNAMSIZ]; in i_ipadm_plumb_if()
875 (void) strlcpy(ifname, newif, LIFNAMSIZ); in i_ipadm_plumb_if()
1172 char tmp_ifname[LIFNAMSIZ]; in i_ipadm_delete_if()
1239 (void) strlcpy(ifarg.ia_ifname, ifname, LIFNAMSIZ); in i_ipadm_delete_ifobj()
[all …]
H A Dipadm_ndpd.h47 char inm_ifname[LIFNAMSIZ];
H A Dlibipadm.h41 #define IPADM_AOBJSIZ (LIFNAMSIZ + IPADM_AOBJ_USTRSIZ)
196 char ifi_name[LIFNAMSIZ]; /* interface name */
/titanic_41/usr/src/lib/libinetutil/common/
H A Difspec.c113 char ifnamecp[LIFNAMSIZ]; in ifparse_ifspec()
116 if (strlcpy(ifnamecp, ifname, LIFNAMSIZ) >= LIFNAMSIZ) { in ifparse_ifspec()
138 (void) strlcpy(ifsp->ifsp_devnm, ifnamecp, LIFNAMSIZ); in ifparse_ifspec()
H A Dlibinetutil.h49 char ifsp_devnm[LIFNAMSIZ]; /* only the device name */
89 char device[LIFNAMSIZ + 1]; /* interface name */
123 char ia_name[LIFNAMSIZ];
/titanic_41/usr/src/uts/common/net/
H A Dif.h349 #define LIFNAMSIZ _LIFNAMSIZ macro
350 #define LIFGRNAMSIZ LIFNAMSIZ
364 char lifr_name[LIFNAMSIZ]; /* if name, e.g. "en0" */
386 char lifru_binding[LIFNAMSIZ]; /* SIOCGLIFBINDING */
610 char gi_grifname[LIFNAMSIZ]; /* IPMP meta-interface name */
611 char gi_m4ifname[LIFNAMSIZ]; /* v4 mcast interface name */
612 char gi_m6ifname[LIFNAMSIZ]; /* v6 mcast interface name */
613 char gi_bcifname[LIFNAMSIZ]; /* v4 bcast interface name */
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinterface.c93 if (strlcpy(pif->pif_name, pname, LIFNAMSIZ) >= LIFNAMSIZ) { in insert_pif()
105 (void) strlcpy(lifr.lifr_name, pname, LIFNAMSIZ); in insert_pif()
169 (void) strlcpy(pif->pif_grifname, lifgr.gi_grifname, LIFNAMSIZ); in insert_pif()
182 LIFNAMSIZ); in insert_pif()
426 if (strlcpy(lif->lif_name, lname, LIFNAMSIZ) >= LIFNAMSIZ) { in insert_lif()
433 (void) strlcpy(lifr.lifr_name, lname, LIFNAMSIZ); in insert_lif()
675 (void) strlcpy(lifr.lifr_name, lif->lif_name, LIFNAMSIZ); in checkaddr()
736 (void) strlcpy(lifr.lifr_name, lif->lif_name, LIFNAMSIZ); in verify_lif()
779 (void) strlcpy(lifr.lifr_name, pif->pif_grifname, LIFNAMSIZ); in verify_lif()
861 (void) strlcpy(lifr.lifr_name, lif->lif_name, LIFNAMSIZ); in canonize_lif()
[all …]
H A Dinterface.h66 char pif_name[LIFNAMSIZ];
67 char pif_grifname[LIFNAMSIZ];
106 char lif_name[LIFNAMSIZ];
/titanic_41/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c170 static char interface[LIFNAMSIZ]; in get_first_interface()
204 (void) strncpy(flifr.lifr_name, ifr->lifr_name, LIFNAMSIZ); in get_first_interface()
240 (void) strncpy(interface, ifr->lifr_name, LIFNAMSIZ); in get_first_interface()
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dsysevent_events.c66 char if_name[LIFNAMSIZ]; in sysevent_handler()
102 (void) snprintf(if_name, LIFNAMSIZ, "%s%d", driver, instance); in sysevent_handler()
H A Dllp.h62 char llp_lname[LIFNAMSIZ];
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd_impl.h93 char vip_lifname[LIFNAMSIZ];
129 char vvi_ifname[LIFNAMSIZ];
/titanic_41/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c111 (void) strlcpy(request->ifname, ifname, LIFNAMSIZ); in dhcp_ipc_alloc_request()
248 (*request)->ifname[LIFNAMSIZ - 1] = '\0'; in dhcp_ipc_recv_request()
746 (void) strlcpy(request->ifname, ifnames, LIFNAMSIZ); in getinfo_ifnames()
803 ifnames = calloc(1, n_ifs * (LIFNAMSIZ + 1)); in get_ifnames()
920 (void) strlcpy(request->ifname, ifnames_copy, LIFNAMSIZ); in dhcp_ipc_getinfo()
950 (void) strlcpy(request->ifname, ifnames_copy, LIFNAMSIZ); in dhcp_ipc_getinfo()
H A Ddhcpagent_ipc.h216 char if_name[LIFNAMSIZ];
265 char ifname[LIFNAMSIZ];
/titanic_41/usr/src/uts/common/inet/
H A Dilb.h100 char vip_itf[LIFNAMSIZ];
106 char servers_itf[LIFNAMSIZ];
/titanic_41/usr/src/lib/libdscp/
H A Dlibdscp.c249 char ifname[LIFNAMSIZ]; in dscpAddr()
373 (void) memset(ifname, 0, LIFNAMSIZ); in get_ifname()
380 (stbuf.st_size > LIFNAMSIZ)) { in get_ifname()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.h183 char pi_name[LIFNAMSIZ + 1]; /* Phyint name eg. le0 */
306 char li_name[LIFNAMSIZ + 1]; /* name Eg. hme0:1 */
390 char al_name[LIFNAMSIZ]; /* address lif name */
H A Dmpd_main.c272 char pi_name[LIFNAMSIZ + 1]; in initifs()
358 (void) strlcpy(lifreq.lifr_name, lifr->lifr_name, LIFNAMSIZ); in initifs()
1606 char ifname[LIFNAMSIZ]; in ire_process_v4()
1647 oct2ifname(&rp1->ipRouteIfIndex, ifname, LIFNAMSIZ); in ire_process_v4()
1702 char ifname[LIFNAMSIZ]; in ire_process_v6()
1736 oct2ifname(&rp->ipv6RouteIfIndex, lifr.lifr_name, LIFNAMSIZ); in ire_process_v6()
1751 oct2ifname(&rp1->ipv6RouteIfIndex, ifname, LIFNAMSIZ); in ire_process_v6()
1752 (void) strlcpy(lifr.lifr_name, ifname, LIFNAMSIZ); in ire_process_v6()
2500 miq->miq_ifname[LIFNAMSIZ - 1] = '\0'; in process_query()
2820 (void) strlcpy(addrp->al_name, name, LIFNAMSIZ); in addrlist_add()
/titanic_41/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c100 char nce_ill_name[LIFNAMSIZ];
743 char ill_name[LIFNAMSIZ]; in nce_format()
759 MIN(LIFNAMSIZ, ill.ill_name_length), in nce_format()
764 strncmp(nce_cb->nce_ill_name, ill_name, LIFNAMSIZ) != 0) in nce_format()
889 char ill_name[LIFNAMSIZ]; in ire_format()
938 MIN(LIFNAMSIZ, ill.ill_name_length), in ire_format()
2201 char ill_name[LIFNAMSIZ]; in ncec_format()
2210 (void) mdb_readstr(ill_name, MIN(LIFNAMSIZ, ill.ill_name_length), in ncec_format()
2570 char ill_name[LIFNAMSIZ]; in ill_format()
2588 (void) mdb_readstr(ill_name, MIN(LIFNAMSIZ, ill->ill_name_length), in ill_format()
[all …]

12345