Lines Matching defs:bridge
46 struct ifconfig_bridge_status inner; /* wrapped bridge status */
71 struct _ifconfig_bridge_status *bridge;
76 bridge = calloc(1, sizeof(struct _ifconfig_bridge_status));
77 if (bridge == NULL) {
82 bridge->inner.params = &bridge->params;
86 free(bridge);
89 bridge->inner.cache_size = cache_param.ifbrp_csize;
93 free(bridge);
96 bridge->inner.cache_lifetime = cache_param.ifbrp_ctime;
99 &bridge->params, sizeof(bridge->params), false) != 0) {
100 free(bridge);
113 free(bridge);
121 free(bridge);
126 bridge->inner.members = members.ifbic_req;
127 bridge->inner.members_count =
130 *bridgep = &bridge->inner;
136 ifconfig_bridge_free_bridge_status(struct ifconfig_bridge_status *bridge)
138 if (bridge != NULL) {
139 free(bridge->members);
140 free(bridge);