Lines Matching defs:node

96 	mde_cookie_t node);
97 static void vgen_mtu_read(vgen_t *vgenp, md_t *mdp, mde_cookie_t node,
99 static void vgen_linkprop_read(vgen_t *vgenp, md_t *mdp, mde_cookie_t node,
188 mde_cookie_t node, uint16_t *pvidp, uint16_t **vidspp,
1326 * find the right node in MD and then read all its properties.
1384 * Read vlan id properties of the given MD node.
1389 * node: md node cookie
1392 * pvidp: port-vlan-id of the node
1393 * vidspp: list of vlan-ids of the node
1395 * default_idp: default-vlan-id of the node(if node is vnet device)
1398 vgen_vlan_read_ids(void *arg, int type, md_t *mdp, mde_cookie_t node,
1438 rv = md_get_prop_val(mdp, node, vgen_dvid_propname, &val);
1451 rv = md_get_prop_val(mdp, node, pvid_propname, &val);
1462 rv = md_get_prop_data(mdp, node, vid_propname, (uint8_t **)&data,
1618 vgen_read_pri_eth_types(vgen_t *vgenp, md_t *mdp, mde_cookie_t node)
1627 rv = md_get_prop_data(mdp, node, pri_types_propname,
1667 vgen_mtu_read(vgen_t *vgenp, md_t *mdp, mde_cookie_t node, uint32_t *mtu)
1675 rv = md_get_prop_val(mdp, node, mtu_propname, &val);
1688 vgen_linkprop_read(vgen_t *vgenp, md_t *mdp, mde_cookie_t node,
1697 rv = md_get_prop_val(mdp, node, linkpropname, &val);
1800 /* mdeg callback function for the port node */
1884 /* mdeg callback function for the vnet node */
1891 mde_cookie_t node;
1909 * We get an initial callback for this node as 'added' after
1911 * information about this vnet node by walking MD earlier during attach
1913 * of this node might have changed when we get this initial 'added'
1915 * function which handles updates to the properties of this vnet-node
1917 * updated and that a 'network' node is present which may or may not
1931 node = resp->added.mdep[0];
1943 node = resp->match_curr.mdep[0];
1950 if (md_get_prop_str(mdp, node, "name", &node_name) != 0) {
1951 DERR(vgenp, NULL, "unable to get node name\n");
1957 DERR(vgenp, NULL, "%s: Invalid node name: %s\n", node_name);
1961 if (md_get_prop_val(mdp, node, "cfg-handle", &inst)) {
1972 vgen_update_md_prop(vgenp, mdp, node);
1983 * Check to see if the relevant properties in the specified node have
2108 /* read properties of the port from its md node */
2133 * Find the channel endpoint node(s) under this port node.
2141 /* allocate space for node list */
2221 /* read vlan id properties of this port node */
4286 * in the virtual-device MD node indicates this. As part of attribute exchange