Lines Matching refs:niface
333 struct interface *iface, *niface;
399 if (( niface = newiface( argv[ 0 ] )) == NULL ) {
411 cc = (*params[ j ].p_func)( niface, &argv[ i + 1 ] );
425 if ( strcmp( niface->i_name, iface->i_name ) == 0 &&
426 ((( niface->i_flags & iface->i_flags &
428 niface->i_flags == 0 || iface->i_flags == 0 )) {
433 fprintf( stderr, "%s already configured!\n", niface->i_name );
440 niface->i_flags |= IFACE_WASALLMULTI;
442 if ((niface->i_flags & IFACE_ALLMULTI) && !(niface->i_flags & IFACE_WASALLMULTI))
447 interfaces = niface;
451 iface->i_next = niface;
453 niface->i_next = NULL;
718 struct interface *iface, *niface;
767 if (( niface = newiface( ifr.ifr_name )) == NULL ) {
778 interfaces = niface;
782 iface->i_next = niface;
784 niface->i_next = NULL;
798 struct interface *niface;
800 if (( niface = (struct interface *)calloc(1, sizeof( struct interface )))
804 strlcpy( niface->i_name, name, sizeof(niface->i_name));
806 niface->i_addr.sat_len = sizeof( struct sockaddr_at );
808 niface->i_addr.sat_family = AF_APPLETALK;
810 niface->i_caddr.sat_len = sizeof( struct sockaddr_at );
812 niface->i_caddr.sat_family = AF_APPLETALK;
814 niface->i_flags = IFACE_ALLMULTI;
816 return( niface );