• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7800-V1.0.2.28/package/qca-nss-ecm/src/

Lines Matching refs:interface

521 	 * Get a route to the given IP address, this will allow us to also find the interface
548 * Get a route to the given IP address, this will allow us to also find the interface
807 * Returns NULL on failure or a reference to interface.
858 * Returns NULL on failure or a reference to interface.
909 * Returns NULL on failure or a reference to interface.
960 * Returns NULL on failure or a reference to interface.
1012 * Returns NULL on failure or a reference to interface.
1063 * Returns NULL on failure or a reference to interface.
1113 * Returns NULL on failure or a reference to interface.
1164 * Returns NULL on failure or a reference to interface.
1219 * Returns NULL on failure or a reference to interface.
1273 * Returns NULL on failure or a reference to interface.
1324 * Establish an interface instance for the given interface detail.
1378 * Does the accel engine recognise this interface?
1382 DEBUG_TRACE("Establish interface instance for device: %p is type: %d, name: %s, ifindex: %d, ae_if: %d, mtu: %d\n",
1410 * Establish this type of interface
1430 * Establish this type of interface
1450 * Establish this type of interface
1466 * Establish this type of interface
1473 * An interface identifier/ifindex can be change after network restart. Below
1475 * If differ then update new ifindex and update the interface identifier hash table.
1582 * Establish this type of interface
1597 * Establish this type of interface
1611 * Establish this type of interface
1625 DEBUG_TRACE("Net device: %p PPP has %d channels - ECM cannot handle this (interface becomes Unknown type)\n",
1630 * Establish this type of interface
1651 * Establish this type of interface
1679 * Establish this type of interface
1690 * Create and return an interface heirarchy for a single interface for a multicast connection
1694 * interface Pointer to a single multicast interface heirarchy
1695 * given_dest_dev Netdev pointer for destination interface
1697 * routed flow without any bridge interface in destination dev list.
1700 ip_addr_t dest_addr, struct ecm_db_iface_instance *interface,
1722 * Get the ecm db interface instance for the device at hand
1728 * If the interface could not be established then we abort
1731 DEBUG_WARN("Failed to establish interface: %p, name: %s\n", dest_dev, dest_dev->name);
1737 ecm_db_multicast_copy_if_heirarchy(to_list_single, interface);
1743 * Record the interface instance into the *ifaces
1746 ii_temp = ecm_db_multicast_if_instance_get_at_index(interface, current_interface_index);
1788 DEBUG_ASSERT(NULL, "%p: expected only bridge slave here\n", interface);
1793 ecm_db_multicast_copy_if_heirarchy(to_list_single, interface);
1806 ecm_db_multicast_copy_if_heirarchy(to_list_single, interface);
1877 ecm_db_multicast_copy_if_heirarchy(to_list_single, interface);
2019 DEBUG_INFO("Completed interface heirarchy construct with first interface @: %d\n", current_interface_index);
2021 ecm_db_multicast_copy_if_heirarchy(to_list_single, interface);
2040 ecm_db_multicast_copy_if_heirarchy(to_list_single, interface);
2047 * Create destination interface heirarchy for a routed multicast connectiona
2049 * interfaces Pointer to the 2-D array of multicast interface heirarchies
2055 * interface_first_base An array of the index of the first interface in the list
2081 DEBUG_TRACE("Construct interface heirarchy for dest_addr: " ECM_IP_ADDR_DOT_FMT " src_addr: " ECM_IP_ADDR_DOT_FMT "total destination ifs %d\n",
2093 * The source net_dev found as bridge slave. In case of routed interface
2095 * multicast group as a destination interface. Therfore we assume there
2096 * are bridge slaves present in multicast destination interface list
2107 * This loop is for creating the destination interface hierarchy list.
2108 * We take the destination interface array we got from MFC (in form of ifindex array)
2124 * If already constructed any interface heirarchies before hitting
2125 * this error condition then Deref all interface heirarchies.
2166 * If already constructed any interface heirarchies before hitting
2167 * this error condition then Deref all interface heirarchies.
2191 * If already constructed any interface heirarchies before hitting
2192 * this error condition then Deref all interface heirarchies.
2207 * Construct a single interface heirarchy of a multicast dev.
2213 * If already constructed any interface heirarchies before hitting
2214 * this error condition then Deref all interface heirarchies.
2243 * Construct a single interface heirarchy of a multicast dev.
2249 * If already constructed any interface heirarchies before hitting
2250 * this error condition then Deref all interface heirarchies.
2280 * creates destination interface heirarchy for a bridged multicast connection.
2282 * interfaces Pointer to the 2-D array of multicast interface heirarchies
2288 * interface_first_base An array of the index of the first interface in the list
2307 * Go through the newly joined interface index one by one and
2308 * create an interface heirarchy for each valid interface.
2316 * If already constructed any interface heirarchies before hitting
2317 * this error condition then Deref all interface heirarchies.
2338 * If already constructed any interface heirarchies before hitting
2339 * this error condition then Deref all interface heirarchies.
2354 * Construct a single interface heirarchy of a multicast dev.
2360 * If already constructed any interface heirarchies before hitting
2361 * this error condition then Deref all interface heirarchies.
2390 * Construct an interface heirarchy.
2392 * Using the given addressing, locate the interface heirarchy used to emit packets to that destination.
2402 * Given the packet_dest_addr IP address 10.22.33.11 this will create an interface heirarchy (in interracfes[]) of:
2447 DEBUG_TRACE("Construct interface heirarchy for from src_addr: " ECM_IP_ADDR_DOT_FMT " to dest_addr: " ECM_IP_ADDR_DOT_FMT ", protocol: %d\n",
2451 DEBUG_TRACE("Construct interface heirarchy for from src_addr: " ECM_IP_ADDR_OCTAL_FMT " to dest_addr: " ECM_IP_ADDR_OCTAL_FMT ", protocol: %d\n",
2603 * NOTE: current_interface_index tracks the position of the first interface position in interfaces[]
2612 * Get the ecm db interface instance for the device at hand
2617 * If the interface could not be established then we abort
2620 DEBUG_WARN("Failed to establish interface: %p, name: %s\n", dest_dev, dest_dev_name);
2632 * Record the interface instance into the interfaces[]
2994 DEBUG_INFO("Completed interface heirarchy construct with first interface @: %d\n", current_interface_index);
3033 * Given an interface list, walk the interfaces and update the stats for certain types.
3056 DEBUG_WARN("Could not locate interface\n");
3064 * Note: A bridge port can be of different interface type, e.g VLAN, ethernet.
3065 * This check, therefore, should be performed for all interface types.
3114 * Using the interface lists for the given connection, update the interface statistics for each.
3117 * TX is wrt what the interface has transmitted. RX is what the interface has received.
3131 * from_tx_packets / bytes: the amount transmitted by the 'from' interface
3132 * from_rx_packets / bytes: the amount received by the 'from' interface
3134 DEBUG_INFO("%p: Update from interface stats\n", ci);
3142 * to_tx_packets / bytes: the amount transmitted by the 'to' interface
3143 * to_rx_packets / bytes: the amount received by the 'to' interface
3145 DEBUG_INFO("%p: Update to interface stats\n", ci);
3156 * Using the interface lists for the given connection, update the interface statistics for each.
3158 * 'from interface' here is the connection 'from' side. Likewise with 'to interface'.
3159 * TX is wrt what the interface has transmitted. RX is what the interface has received.
3177 * from_tx_packets / bytes: the amount transmitted by the 'from' interface
3178 * from_rx_packets / bytes: the amount received by the 'from' interface
3180 DEBUG_INFO("%p: Update from interface stats\n", ci);
3188 * to_tx_packets / bytes: the amount transmitted by the 'to' interface
3189 * to_rx_packets / bytes: the amount received by the 'to' interface
3191 DEBUG_INFO("%p: Update to interface stats\n", ci);
3194 * This function allocates the memory for temporary destination interface heirarchies.
3199 DEBUG_WARN("%p: Get and ref to all multicast detination interface heirarchies failed\n", ci);
3249 * Cause regeneration of all connections that are using the specified interface.
3261 DEBUG_TRACE("Regenerate connections using interface: %p\n", ii);
3265 * An interface has changed, re-generate the connections to ensure all state is updated.
3270 * If the interface has NO connections then we re-generate all.
3283 * Re-generate all connections associated with this interface
3362 * Cause regeneration of all connections that are using the specified interface.
3371 * If the interface is known to us then we will get it returned by this
3376 DEBUG_WARN("%p: No interface instance could be established for this dev\n", dev);
3386 * MTU of interface has changed
3397 * Find the interface for the given device.
3401 DEBUG_WARN("%p: No interface instance could be established for this dev\n", dev);
3545 * information to delete those outdated interface heirarchies from the
3581 * Loop through the current interface list in the DB
3589 * Invalid interface entry, skip
3603 * interface list that are not part of a bridge.
3611 * interface list that are part of a bridge. The bridge entries will be
3621 * Try to find a match in the newly received interface list, for any of
3622 * the interface instance in the heirarchy. If found, it means that this
3623 * interface has not left the group. If not found, it means that this
3624 * interface has left the group.
3646 * We did not find a match for the interface in the present list. So mark
3674 * interface heirarchies into the connection.
3707 * Loop through the new interface list 'dst_dev'
3720 * Invalid interface entry, skip
3730 * interface instance in the heirarchy. If not found, it means that this
3751 * We did not find a match for the interface in the present list. So mark
3763 * the new interface
3789 * interface list