FreeBSD/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_if.c
/*
 * Find a bridge interface entry by the bridge interface name.
 */
Find a bridge interface entry by the bridge interface name.
Find a bridge interface entry by the bridge interface name .
struct bridge_if *
bridge_if_find_ifname(const char *b_name)
{
	struct bridge_if *b;
	TAILQ_FOREACH(b, &bridge_ifs, b_if)
		if (strcmp(b_name, b->bif_name) == 0)
			return (b);
	return (NULL);
}
struct bridge_if * bridge_if_find_ifname ( const char * b_name ) { struct bridge_if * b ; TAILQ_FOREACH ( b , & bridge_ifs , b_if ) if ( strcmp ( b_name , b -> bif_name ) == 0 ) return ( b ) ; return ( NULL ) ; }
Find a bridge interface entry by the bridge interface name.
Find a bridge interface entry by the bridge interface name .