Lines Matching refs:linkname
54 doifrevarp(const char *linkname, struct sockaddr_in *laddr) in doifrevarp() argument
67 if (linkname[0] == '\0') { in doifrevarp()
73 (void) printf("doifrevarp interface %s\n", linkname); in doifrevarp()
78 (void) strlcpy(lifr.lifr_name, linkname, sizeof (lifr.lifr_name)); in doifrevarp()
94 dh = rarp_open(linkname, &physaddrlen, my_macaddr, my_broadcast); in doifrevarp()
153 linkname, retval); in doifrevarp()
184 linkname, retval); in doifrevarp()
199 rarp_open(const char *linkname, size_t *alen, uchar_t *myaddr, uchar_t *mybaddr) in rarp_open() argument
207 (void) printf("rarp_open %s\n", linkname); in rarp_open()
209 if ((retval = dlpi_open(linkname, &dh, 0)) != DLPI_SUCCESS) { in rarp_open()
210 Perrdlpi("rarp_open: dlpi_open failed", linkname, retval); in rarp_open()
215 Perrdlpi("rarp_open: dlpi_bind failed", linkname, retval); in rarp_open()
220 Perrdlpi("rarp_open: dlpi_info failed", linkname, retval); in rarp_open()
226 "not supported\n", linkname); in rarp_open()
248 "address %s\n", linkname, bcastaddr, physaddr); in rarp_open()
327 dlpi_print_address(const char *linkname) in dlpi_print_address() argument
336 if (dlpi_open(linkname, &dh, 0) != DLPI_SUCCESS) { in dlpi_print_address()
343 Perrdlpi("dlpi_get_physaddr failed", linkname, retv); in dlpi_print_address()
350 Perrdlpi("dlpi_info failed", linkname, retv); in dlpi_print_address()