/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/lib/ |
H A D | if.c | 118 struct interface *ifp; local 120 ifp = XCALLOC (MTYPE_IF, sizeof (struct interface)); 121 ifp->ifindex = IFINDEX_INTERNAL; 125 strncpy (ifp->name, name, namelen); 126 ifp->name[namelen] = '\0'; 127 if (if_lookup_by_name(ifp->name) == NULL) 128 listnode_add_sort (iflist, ifp); 131 "name exists already!", ifp->name); 132 ifp->connected = list_new (); 133 ifp 143 if_delete_retain(struct interface *ifp) argument 154 if_delete(struct interface *ifp) argument 167 if_add_hook(int type, int (*func)(struct interface *ifp)) argument 186 struct interface *ifp; local 199 struct interface *ifp; local 208 struct interface *ifp; local 219 struct interface *ifp; local 234 struct interface *ifp; local 253 struct interface *ifp; local 281 struct interface *ifp; local 313 struct interface *ifp; local 334 struct interface *ifp; local 343 struct interface *ifp; local 351 if_is_up(struct interface *ifp) argument 358 if_is_running(struct interface *ifp) argument 366 if_is_operative(struct interface *ifp) argument 374 if_is_loopback(struct interface *ifp) argument 384 if_is_broadcast(struct interface *ifp) argument 391 if_is_pointopoint(struct interface *ifp) argument 398 if_is_multicast(struct interface *ifp) argument 451 if_dump(const struct interface *ifp) argument 486 struct interface *ifp; variable in typeref:struct:interface 505 struct interface *ifp; variable in typeref:struct:interface 539 struct interface *ifp; local 563 struct interface *ifp; variable in typeref:struct:interface 594 struct interface *ifp; variable in typeref:struct:interface 611 if_delete(ifp); variable 625 struct interface *ifp; variable in typeref:struct:interface 671 struct interface *ifp; local 711 connected_delete_by_prefix(struct interface *ifp, struct prefix *p) argument 735 connected_lookup_address(struct interface *ifp, struct in_addr dst) argument 759 connected_add_by_prefix(struct interface *ifp, struct prefix *p, struct prefix *destination) argument 788 struct interface *ifp; local 799 struct interface *ifp; local 909 struct interface *ifp; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/lib/ |
H A D | if.c | 118 struct interface *ifp; local 120 ifp = XCALLOC (MTYPE_IF, sizeof (struct interface)); 121 ifp->ifindex = IFINDEX_INTERNAL; 125 strncpy (ifp->name, name, namelen); 126 ifp->name[namelen] = '\0'; 127 if (if_lookup_by_name(ifp->name) == NULL) 128 listnode_add_sort (iflist, ifp); 131 "name exists already!", ifp->name); 132 ifp->connected = list_new (); 133 ifp 143 if_delete_retain(struct interface *ifp) argument 154 if_delete(struct interface *ifp) argument 167 if_add_hook(int type, int (*func)(struct interface *ifp)) argument 186 struct interface *ifp; local 199 struct interface *ifp; local 208 struct interface *ifp; local 219 struct interface *ifp; local 234 struct interface *ifp; local 253 struct interface *ifp; local 281 struct interface *ifp; local 313 struct interface *ifp; local 334 struct interface *ifp; local 343 struct interface *ifp; local 351 if_is_up(struct interface *ifp) argument 358 if_is_running(struct interface *ifp) argument 366 if_is_operative(struct interface *ifp) argument 374 if_is_loopback(struct interface *ifp) argument 384 if_is_broadcast(struct interface *ifp) argument 391 if_is_pointopoint(struct interface *ifp) argument 398 if_is_multicast(struct interface *ifp) argument 451 if_dump(const struct interface *ifp) argument 486 struct interface *ifp; variable in typeref:struct:interface 505 struct interface *ifp; variable in typeref:struct:interface 539 struct interface *ifp; local 563 struct interface *ifp; variable in typeref:struct:interface 594 struct interface *ifp; variable in typeref:struct:interface 611 if_delete(ifp); variable 625 struct interface *ifp; variable in typeref:struct:interface 671 struct interface *ifp; local 711 connected_delete_by_prefix(struct interface *ifp, struct prefix *p) argument 735 connected_lookup_address(struct interface *ifp, struct in_addr dst) argument 759 connected_add_by_prefix(struct interface *ifp, struct prefix *p, struct prefix *destination) argument 788 struct interface *ifp; local 799 struct interface *ifp; local 909 struct interface *ifp; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/lib/ |
H A D | if.c | 118 struct interface *ifp; local 120 ifp = XCALLOC (MTYPE_IF, sizeof (struct interface)); 121 ifp->ifindex = IFINDEX_INTERNAL; 125 strncpy (ifp->name, name, namelen); 126 ifp->name[namelen] = '\0'; 127 if (if_lookup_by_name(ifp->name) == NULL) 128 listnode_add_sort (iflist, ifp); 131 "name exists already!", ifp->name); 132 ifp->connected = list_new (); 133 ifp 143 if_delete_retain(struct interface *ifp) argument 154 if_delete(struct interface *ifp) argument 167 if_add_hook(int type, int (*func)(struct interface *ifp)) argument 186 struct interface *ifp; local 199 struct interface *ifp; local 208 struct interface *ifp; local 219 struct interface *ifp; local 234 struct interface *ifp; local 253 struct interface *ifp; local 281 struct interface *ifp; local 313 struct interface *ifp; local 334 struct interface *ifp; local 343 struct interface *ifp; local 351 if_is_up(struct interface *ifp) argument 358 if_is_running(struct interface *ifp) argument 366 if_is_operative(struct interface *ifp) argument 374 if_is_loopback(struct interface *ifp) argument 384 if_is_broadcast(struct interface *ifp) argument 391 if_is_pointopoint(struct interface *ifp) argument 398 if_is_multicast(struct interface *ifp) argument 451 if_dump(const struct interface *ifp) argument 486 struct interface *ifp; variable in typeref:struct:interface 505 struct interface *ifp; variable in typeref:struct:interface 539 struct interface *ifp; local 563 struct interface *ifp; variable in typeref:struct:interface 594 struct interface *ifp; variable in typeref:struct:interface 611 if_delete(ifp); variable 625 struct interface *ifp; variable in typeref:struct:interface 671 struct interface *ifp; local 711 connected_delete_by_prefix(struct interface *ifp, struct prefix *p) argument 735 connected_lookup_address(struct interface *ifp, struct in_addr dst) argument 759 connected_add_by_prefix(struct interface *ifp, struct prefix *p, struct prefix *destination) argument 788 struct interface *ifp; local 799 struct interface *ifp; local 909 struct interface *ifp; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/babeld/ |
H A D | message.h | 73 void parse_packet(const unsigned char *from, struct interface *ifp, 75 void flushbuf(struct interface *ifp); 76 void flushupdates(struct interface *ifp); 79 void send_hello_noupdate(struct interface *ifp, unsigned interval); 80 void send_hello(struct interface *ifp); 82 void send_update(struct interface *ifp, int urgent, 84 void send_update_resend(struct interface *ifp, 86 void send_wildcard_retraction(struct interface *ifp); 88 void send_self_update(struct interface *ifp); 89 void send_ihu(struct neighbour *neigh, struct interface *ifp); [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/babeld/ |
H A D | message.h | 73 void parse_packet(const unsigned char *from, struct interface *ifp, 75 void flushbuf(struct interface *ifp); 76 void flushupdates(struct interface *ifp); 79 void send_hello_noupdate(struct interface *ifp, unsigned interval); 80 void send_hello(struct interface *ifp); 82 void send_update(struct interface *ifp, int urgent, 84 void send_update_resend(struct interface *ifp, 86 void send_wildcard_retraction(struct interface *ifp); 88 void send_self_update(struct interface *ifp); 89 void send_ihu(struct neighbour *neigh, struct interface *ifp); [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/babeld/ |
H A D | message.h | 73 void parse_packet(const unsigned char *from, struct interface *ifp, 75 void flushbuf(struct interface *ifp); 76 void flushupdates(struct interface *ifp); 79 void send_hello_noupdate(struct interface *ifp, unsigned interval); 80 void send_hello(struct interface *ifp); 82 void send_update(struct interface *ifp, int urgent, 84 void send_update_resend(struct interface *ifp, 86 void send_wildcard_retraction(struct interface *ifp); 88 void send_self_update(struct interface *ifp); 89 void send_ihu(struct neighbour *neigh, struct interface *ifp); [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/zebra/ |
H A D | interface.c | 52 if_zebra_new_hook (struct interface *ifp) argument 92 ifp->info = zebra_if; 98 if_zebra_delete_hook (struct interface *ifp) argument 102 if (ifp->info) 104 zebra_if = ifp->info; 118 if_subnet_add (struct interface *ifp, struct connected *ifc) argument 125 assert (ifp && ifp->info && ifc); 126 zebra_if = ifp->info; 152 if_subnet_delete (struct interface *ifp, struc argument 238 if_flags_mangle(struct interface *ifp, uint64_t *newflags) argument 260 if_flags_update(struct interface *ifp, uint64_t newflags) argument 283 if_addr_wakeup(struct interface *ifp) argument 365 if_add_update(struct interface *ifp) argument 404 if_delete_update(struct interface *ifp) argument 528 if_up(struct interface *ifp) argument 561 if_down(struct interface *ifp) argument 592 if_refresh(struct interface *ifp) argument 639 nd_dump_vty(struct vty *vty, struct interface *ifp) argument 701 if_dump_vty(struct vty *vty, struct interface *ifp) argument 892 struct interface * ifp; variable in typeref:struct:interface 923 struct interface *ifp; variable in typeref:struct:interface 963 struct interface *ifp; variable in typeref:struct:interface 1006 struct interface *ifp; variable in typeref:struct:interface 1018 if_refresh (ifp); variable 1033 struct interface *ifp; variable in typeref:struct:interface 1045 if_refresh (ifp); variable 1058 struct interface *ifp; variable in typeref:struct:interface 1066 if (!if_is_operative(ifp) && if_was_operative) if_down(ifp); variable 1081 struct interface *ifp; variable in typeref:struct:interface 1089 if (if_is_operative(ifp) && !if_was_operative) if_up(ifp); variable 1102 struct interface *ifp; variable in typeref:struct:interface 1114 if_refresh (ifp); variable 1129 struct interface *ifp; variable in typeref:struct:interface 1142 if_refresh (ifp); variable 1147 if_addr_wakeup(ifp); variable 1162 struct interface *ifp; variable in typeref:struct:interface 1179 zebra_interface_up_update (ifp); variable 1190 struct interface *ifp; variable in typeref:struct:interface 1198 zebra_interface_up_update (ifp); variable 1211 ip_address_install(struct vty *vty, struct interface *ifp, const char *addr_str, const char *peer_str, const char *label) argument 1292 ip_address_uninstall(struct vty *vty, struct interface *ifp, const char *addr_str, const char *peer_str, const char *label) argument 1395 ipv6_address_install(struct vty *vty, struct interface *ifp, const char *addr_str, const char *peer_str, const char *label, int secondary) argument 1471 ipv6_address_uninstall(struct vty *vty, struct interface *ifp, const char *addr_str, const char *peer_str, const char *label, int secondry) argument 1551 struct interface *ifp; local [all...] |
H A D | irdp_interface.c | 83 irdp_get_prefix(struct interface *ifp) argument 88 if (ifp->connected) 89 for (ALL_LIST_ELEMENTS_RO (ifp->connected, node, ifc)) 97 if_group (struct interface *ifp, argument 109 p = irdp_get_prefix(ifp); 112 zlog_warn ("IRDP: can't get address for %s", ifp->name); 130 if_add_group (struct interface *ifp) argument 132 struct zebra_if *zi= ifp->info; 137 ret = if_group (ifp, irdp_sock, INADDR_ALLRTRS_GROUP, IP_ADD_MEMBERSHIP); 145 ifp 150 if_drop_group(struct interface *ifp) argument 169 if_set_defaults(struct interface *ifp) argument 193 irdp_if_start(struct interface *ifp, int multicast, int set_defaults) argument 272 irdp_if_stop(struct interface *ifp) argument 300 irdp_if_shutdown(struct interface *ifp) argument 321 irdp_if_no_shutdown(struct interface *ifp) argument 340 irdp_config_write(struct vty *vty, struct interface *ifp) argument 386 struct interface *ifp; variable in typeref:struct:interface 403 struct interface *ifp; variable in typeref:struct:interface 421 struct interface *ifp; variable in typeref:struct:interface 428 irdp_if_stop(ifp); variable 438 struct interface *ifp; variable in typeref:struct:interface 445 irdp_if_shutdown(ifp); variable 456 struct interface *ifp; variable in typeref:struct:interface 463 irdp_if_no_shutdown(ifp); variable 475 struct interface *ifp; variable in typeref:struct:interface 498 struct interface *ifp; variable in typeref:struct:interface 531 struct interface *ifp; variable in typeref:struct:interface 570 struct interface *ifp; variable in typeref:struct:interface 598 struct interface *ifp; variable in typeref:struct:interface 642 struct interface *ifp; variable in typeref:struct:interface 677 struct interface *ifp; variable in typeref:struct:interface 699 struct interface *ifp; variable in typeref:struct:interface 721 struct interface *ifp; variable in typeref:struct:interface 744 struct interface *ifp; variable in typeref:struct:interface [all...] |
H A D | connected.c | 50 zebra_interface_address_delete_update (ifc->ifp, ifc); 53 if_subnet_delete (ifc->ifp, ifc); 56 connected_down_ipv4 (ifc->ifp, ifc); 59 connected_down_ipv6 (ifc->ifp, ifc); 70 listnode_delete (ifc->ifp->connected, ifc); 76 connected_announce (struct interface *ifp, struct connected *ifc) argument 81 listnode_add (ifp->connected, ifc); 85 if_subnet_add (ifp, ifc); 87 zebra_interface_address_add_update (ifp, ifc); 89 if (if_is_operative(ifp)) 102 connected_check(struct interface *ifp, struct prefix *p) argument 144 connected_update(struct interface *ifp, struct connected *ifc) argument 177 connected_up_ipv4(struct interface *ifp, struct connected *ifc) argument 205 connected_add_ipv4(struct interface *ifp, int flags, struct in_addr *addr, u_char prefixlen, struct in_addr *broad, const char *label) argument 289 connected_down_ipv4(struct interface *ifp, struct connected *ifc) argument 316 connected_delete_ipv4(struct interface *ifp, int flags, struct in_addr *addr, u_char prefixlen, struct in_addr *broad) argument 338 connected_up_ipv6(struct interface *ifp, struct connected *ifc) argument 364 connected_add_ipv6(struct interface *ifp, int flags, struct in6_addr *addr, u_char prefixlen, struct in6_addr *broad, const char *label) argument 425 connected_down_ipv6(struct interface *ifp, struct connected *ifc) argument 445 connected_delete_ipv6(struct interface *ifp, struct in6_addr *address, u_char prefixlen, struct in6_addr *broad) argument [all...] |
H A D | ioctl_solaris.c | 128 if_get_metric (struct interface *ifp) argument 133 lifreq_set_name (&lifreq, ifp->name); 135 if (ifp->flags & IFF_IPV4) 138 else if (ifp->flags & IFF_IPV6) 147 ifp->metric = lifreq.lifr_metric; 149 if (ifp->metric == 0) 150 ifp->metric = 1; 155 if_get_mtu (struct interface *ifp) argument 161 if (ifp->flags & IFF_IPV4) 163 lifreq_set_name (&lifreq, ifp 205 if_set_prefix(struct interface *ifp, struct connected *ifc) argument 261 if_unset_prefix(struct interface *ifp, struct connected *ifc) argument 310 if_get_flags(struct interface *ifp) argument 351 if_set_flags(struct interface *ifp, uint64_t flags) argument 379 if_unset_flags(struct interface *ifp, uint64_t flags) argument 408 if_prefix_add_ipv6(struct interface *ifp, struct connected *ifc) argument 421 if_prefix_delete_ipv6(struct interface *ifp, struct connected *ifc) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/zebra/ |
H A D | interface.c | 52 if_zebra_new_hook (struct interface *ifp) argument 92 ifp->info = zebra_if; 98 if_zebra_delete_hook (struct interface *ifp) argument 102 if (ifp->info) 104 zebra_if = ifp->info; 118 if_subnet_add (struct interface *ifp, struct connected *ifc) argument 125 assert (ifp && ifp->info && ifc); 126 zebra_if = ifp->info; 152 if_subnet_delete (struct interface *ifp, struc argument 238 if_flags_mangle(struct interface *ifp, uint64_t *newflags) argument 260 if_flags_update(struct interface *ifp, uint64_t newflags) argument 283 if_addr_wakeup(struct interface *ifp) argument 365 if_add_update(struct interface *ifp) argument 404 if_delete_update(struct interface *ifp) argument 528 if_up(struct interface *ifp) argument 561 if_down(struct interface *ifp) argument 592 if_refresh(struct interface *ifp) argument 639 nd_dump_vty(struct vty *vty, struct interface *ifp) argument 701 if_dump_vty(struct vty *vty, struct interface *ifp) argument 892 struct interface * ifp; variable in typeref:struct:interface 923 struct interface *ifp; variable in typeref:struct:interface 963 struct interface *ifp; variable in typeref:struct:interface 1006 struct interface *ifp; variable in typeref:struct:interface 1018 if_refresh (ifp); variable 1033 struct interface *ifp; variable in typeref:struct:interface 1045 if_refresh (ifp); variable 1058 struct interface *ifp; variable in typeref:struct:interface 1066 if (!if_is_operative(ifp) && if_was_operative) if_down(ifp); variable 1081 struct interface *ifp; variable in typeref:struct:interface 1089 if (if_is_operative(ifp) && !if_was_operative) if_up(ifp); variable 1102 struct interface *ifp; variable in typeref:struct:interface 1114 if_refresh (ifp); variable 1129 struct interface *ifp; variable in typeref:struct:interface 1142 if_refresh (ifp); variable 1147 if_addr_wakeup(ifp); variable 1162 struct interface *ifp; variable in typeref:struct:interface 1179 zebra_interface_up_update (ifp); variable 1190 struct interface *ifp; variable in typeref:struct:interface 1198 zebra_interface_up_update (ifp); variable 1211 ip_address_install(struct vty *vty, struct interface *ifp, const char *addr_str, const char *peer_str, const char *label) argument 1292 ip_address_uninstall(struct vty *vty, struct interface *ifp, const char *addr_str, const char *peer_str, const char *label) argument 1395 ipv6_address_install(struct vty *vty, struct interface *ifp, const char *addr_str, const char *peer_str, const char *label, int secondary) argument 1471 ipv6_address_uninstall(struct vty *vty, struct interface *ifp, const char *addr_str, const char *peer_str, const char *label, int secondry) argument 1551 struct interface *ifp; local [all...] |
H A D | irdp_interface.c | 83 irdp_get_prefix(struct interface *ifp) argument 88 if (ifp->connected) 89 for (ALL_LIST_ELEMENTS_RO (ifp->connected, node, ifc)) 97 if_group (struct interface *ifp, argument 109 p = irdp_get_prefix(ifp); 112 zlog_warn ("IRDP: can't get address for %s", ifp->name); 130 if_add_group (struct interface *ifp) argument 132 struct zebra_if *zi= ifp->info; 137 ret = if_group (ifp, irdp_sock, INADDR_ALLRTRS_GROUP, IP_ADD_MEMBERSHIP); 145 ifp 150 if_drop_group(struct interface *ifp) argument 169 if_set_defaults(struct interface *ifp) argument 193 irdp_if_start(struct interface *ifp, int multicast, int set_defaults) argument 272 irdp_if_stop(struct interface *ifp) argument 300 irdp_if_shutdown(struct interface *ifp) argument 321 irdp_if_no_shutdown(struct interface *ifp) argument 340 irdp_config_write(struct vty *vty, struct interface *ifp) argument 386 struct interface *ifp; variable in typeref:struct:interface 403 struct interface *ifp; variable in typeref:struct:interface 421 struct interface *ifp; variable in typeref:struct:interface 428 irdp_if_stop(ifp); variable 438 struct interface *ifp; variable in typeref:struct:interface 445 irdp_if_shutdown(ifp); variable 456 struct interface *ifp; variable in typeref:struct:interface 463 irdp_if_no_shutdown(ifp); variable 475 struct interface *ifp; variable in typeref:struct:interface 498 struct interface *ifp; variable in typeref:struct:interface 531 struct interface *ifp; variable in typeref:struct:interface 570 struct interface *ifp; variable in typeref:struct:interface 598 struct interface *ifp; variable in typeref:struct:interface 642 struct interface *ifp; variable in typeref:struct:interface 677 struct interface *ifp; variable in typeref:struct:interface 699 struct interface *ifp; variable in typeref:struct:interface 721 struct interface *ifp; variable in typeref:struct:interface 744 struct interface *ifp; variable in typeref:struct:interface [all...] |
H A D | connected.c | 50 zebra_interface_address_delete_update (ifc->ifp, ifc); 53 if_subnet_delete (ifc->ifp, ifc); 56 connected_down_ipv4 (ifc->ifp, ifc); 59 connected_down_ipv6 (ifc->ifp, ifc); 70 listnode_delete (ifc->ifp->connected, ifc); 76 connected_announce (struct interface *ifp, struct connected *ifc) argument 81 listnode_add (ifp->connected, ifc); 85 if_subnet_add (ifp, ifc); 87 zebra_interface_address_add_update (ifp, ifc); 89 if (if_is_operative(ifp)) 102 connected_check(struct interface *ifp, struct prefix *p) argument 144 connected_update(struct interface *ifp, struct connected *ifc) argument 177 connected_up_ipv4(struct interface *ifp, struct connected *ifc) argument 205 connected_add_ipv4(struct interface *ifp, int flags, struct in_addr *addr, u_char prefixlen, struct in_addr *broad, const char *label) argument 289 connected_down_ipv4(struct interface *ifp, struct connected *ifc) argument 316 connected_delete_ipv4(struct interface *ifp, int flags, struct in_addr *addr, u_char prefixlen, struct in_addr *broad) argument 338 connected_up_ipv6(struct interface *ifp, struct connected *ifc) argument 364 connected_add_ipv6(struct interface *ifp, int flags, struct in6_addr *addr, u_char prefixlen, struct in6_addr *broad, const char *label) argument 425 connected_down_ipv6(struct interface *ifp, struct connected *ifc) argument 445 connected_delete_ipv6(struct interface *ifp, struct in6_addr *address, u_char prefixlen, struct in6_addr *broad) argument [all...] |
H A D | ioctl_solaris.c | 128 if_get_metric (struct interface *ifp) argument 133 lifreq_set_name (&lifreq, ifp->name); 135 if (ifp->flags & IFF_IPV4) 138 else if (ifp->flags & IFF_IPV6) 147 ifp->metric = lifreq.lifr_metric; 149 if (ifp->metric == 0) 150 ifp->metric = 1; 155 if_get_mtu (struct interface *ifp) argument 161 if (ifp->flags & IFF_IPV4) 163 lifreq_set_name (&lifreq, ifp 205 if_set_prefix(struct interface *ifp, struct connected *ifc) argument 261 if_unset_prefix(struct interface *ifp, struct connected *ifc) argument 310 if_get_flags(struct interface *ifp) argument 351 if_set_flags(struct interface *ifp, uint64_t flags) argument 379 if_unset_flags(struct interface *ifp, uint64_t flags) argument 408 if_prefix_add_ipv6(struct interface *ifp, struct connected *ifc) argument 421 if_prefix_delete_ipv6(struct interface *ifp, struct connected *ifc) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/zebra/ |
H A D | interface.c | 52 if_zebra_new_hook (struct interface *ifp) argument 92 ifp->info = zebra_if; 98 if_zebra_delete_hook (struct interface *ifp) argument 102 if (ifp->info) 104 zebra_if = ifp->info; 118 if_subnet_add (struct interface *ifp, struct connected *ifc) argument 125 assert (ifp && ifp->info && ifc); 126 zebra_if = ifp->info; 152 if_subnet_delete (struct interface *ifp, struc argument 238 if_flags_mangle(struct interface *ifp, uint64_t *newflags) argument 260 if_flags_update(struct interface *ifp, uint64_t newflags) argument 283 if_addr_wakeup(struct interface *ifp) argument 365 if_add_update(struct interface *ifp) argument 404 if_delete_update(struct interface *ifp) argument 528 if_up(struct interface *ifp) argument 561 if_down(struct interface *ifp) argument 592 if_refresh(struct interface *ifp) argument 639 nd_dump_vty(struct vty *vty, struct interface *ifp) argument 701 if_dump_vty(struct vty *vty, struct interface *ifp) argument 892 struct interface * ifp; variable in typeref:struct:interface 923 struct interface *ifp; variable in typeref:struct:interface 963 struct interface *ifp; variable in typeref:struct:interface 1006 struct interface *ifp; variable in typeref:struct:interface 1018 if_refresh (ifp); variable 1033 struct interface *ifp; variable in typeref:struct:interface 1045 if_refresh (ifp); variable 1058 struct interface *ifp; variable in typeref:struct:interface 1066 if (!if_is_operative(ifp) && if_was_operative) if_down(ifp); variable 1081 struct interface *ifp; variable in typeref:struct:interface 1089 if (if_is_operative(ifp) && !if_was_operative) if_up(ifp); variable 1102 struct interface *ifp; variable in typeref:struct:interface 1114 if_refresh (ifp); variable 1129 struct interface *ifp; variable in typeref:struct:interface 1142 if_refresh (ifp); variable 1147 if_addr_wakeup(ifp); variable 1162 struct interface *ifp; variable in typeref:struct:interface 1179 zebra_interface_up_update (ifp); variable 1190 struct interface *ifp; variable in typeref:struct:interface 1198 zebra_interface_up_update (ifp); variable 1211 ip_address_install(struct vty *vty, struct interface *ifp, const char *addr_str, const char *peer_str, const char *label) argument 1292 ip_address_uninstall(struct vty *vty, struct interface *ifp, const char *addr_str, const char *peer_str, const char *label) argument 1395 ipv6_address_install(struct vty *vty, struct interface *ifp, const char *addr_str, const char *peer_str, const char *label, int secondary) argument 1471 ipv6_address_uninstall(struct vty *vty, struct interface *ifp, const char *addr_str, const char *peer_str, const char *label, int secondry) argument 1551 struct interface *ifp; local [all...] |
H A D | irdp_interface.c | 83 irdp_get_prefix(struct interface *ifp) argument 88 if (ifp->connected) 89 for (ALL_LIST_ELEMENTS_RO (ifp->connected, node, ifc)) 97 if_group (struct interface *ifp, argument 109 p = irdp_get_prefix(ifp); 112 zlog_warn ("IRDP: can't get address for %s", ifp->name); 130 if_add_group (struct interface *ifp) argument 132 struct zebra_if *zi= ifp->info; 137 ret = if_group (ifp, irdp_sock, INADDR_ALLRTRS_GROUP, IP_ADD_MEMBERSHIP); 145 ifp 150 if_drop_group(struct interface *ifp) argument 169 if_set_defaults(struct interface *ifp) argument 193 irdp_if_start(struct interface *ifp, int multicast, int set_defaults) argument 272 irdp_if_stop(struct interface *ifp) argument 300 irdp_if_shutdown(struct interface *ifp) argument 321 irdp_if_no_shutdown(struct interface *ifp) argument 340 irdp_config_write(struct vty *vty, struct interface *ifp) argument 386 struct interface *ifp; variable in typeref:struct:interface 403 struct interface *ifp; variable in typeref:struct:interface 421 struct interface *ifp; variable in typeref:struct:interface 428 irdp_if_stop(ifp); variable 438 struct interface *ifp; variable in typeref:struct:interface 445 irdp_if_shutdown(ifp); variable 456 struct interface *ifp; variable in typeref:struct:interface 463 irdp_if_no_shutdown(ifp); variable 475 struct interface *ifp; variable in typeref:struct:interface 498 struct interface *ifp; variable in typeref:struct:interface 531 struct interface *ifp; variable in typeref:struct:interface 570 struct interface *ifp; variable in typeref:struct:interface 598 struct interface *ifp; variable in typeref:struct:interface 642 struct interface *ifp; variable in typeref:struct:interface 677 struct interface *ifp; variable in typeref:struct:interface 699 struct interface *ifp; variable in typeref:struct:interface 721 struct interface *ifp; variable in typeref:struct:interface 744 struct interface *ifp; variable in typeref:struct:interface [all...] |
H A D | connected.c | 50 zebra_interface_address_delete_update (ifc->ifp, ifc); 53 if_subnet_delete (ifc->ifp, ifc); 56 connected_down_ipv4 (ifc->ifp, ifc); 59 connected_down_ipv6 (ifc->ifp, ifc); 70 listnode_delete (ifc->ifp->connected, ifc); 76 connected_announce (struct interface *ifp, struct connected *ifc) argument 81 listnode_add (ifp->connected, ifc); 85 if_subnet_add (ifp, ifc); 87 zebra_interface_address_add_update (ifp, ifc); 89 if (if_is_operative(ifp)) 102 connected_check(struct interface *ifp, struct prefix *p) argument 144 connected_update(struct interface *ifp, struct connected *ifc) argument 177 connected_up_ipv4(struct interface *ifp, struct connected *ifc) argument 205 connected_add_ipv4(struct interface *ifp, int flags, struct in_addr *addr, u_char prefixlen, struct in_addr *broad, const char *label) argument 289 connected_down_ipv4(struct interface *ifp, struct connected *ifc) argument 316 connected_delete_ipv4(struct interface *ifp, int flags, struct in_addr *addr, u_char prefixlen, struct in_addr *broad) argument 338 connected_up_ipv6(struct interface *ifp, struct connected *ifc) argument 364 connected_add_ipv6(struct interface *ifp, int flags, struct in6_addr *addr, u_char prefixlen, struct in6_addr *broad, const char *label) argument 425 connected_down_ipv6(struct interface *ifp, struct connected *ifc) argument 445 connected_delete_ipv6(struct interface *ifp, struct in6_addr *address, u_char prefixlen, struct in6_addr *broad) argument [all...] |
H A D | ioctl_solaris.c | 128 if_get_metric (struct interface *ifp) argument 133 lifreq_set_name (&lifreq, ifp->name); 135 if (ifp->flags & IFF_IPV4) 138 else if (ifp->flags & IFF_IPV6) 147 ifp->metric = lifreq.lifr_metric; 149 if (ifp->metric == 0) 150 ifp->metric = 1; 155 if_get_mtu (struct interface *ifp) argument 161 if (ifp->flags & IFF_IPV4) 163 lifreq_set_name (&lifreq, ifp 205 if_set_prefix(struct interface *ifp, struct connected *ifc) argument 261 if_unset_prefix(struct interface *ifp, struct connected *ifc) argument 310 if_get_flags(struct interface *ifp) argument 351 if_set_flags(struct interface *ifp, uint64_t flags) argument 379 if_unset_flags(struct interface *ifp, uint64_t flags) argument 408 if_prefix_add_ipv6(struct interface *ifp, struct connected *ifc) argument 421 if_prefix_delete_ipv6(struct interface *ifp, struct connected *ifc) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/pimd/ |
H A D | pim_pim.h | 56 void pim_ifstat_reset(struct interface *ifp); 57 void pim_sock_reset(struct interface *ifp); 58 int pim_sock_add(struct interface *ifp); 59 void pim_sock_delete(struct interface *ifp, const char *delete_message); 60 void pim_hello_restart_now(struct interface *ifp); 61 void pim_hello_restart_triggered(struct interface *ifp); 63 int pim_pim_packet(struct interface *ifp, uint8_t *buf, size_t len);
|
H A D | pim_iface.c | 44 static void pim_if_igmp_join_del_all(struct interface *ifp); 74 struct pim_interface *pim_if_new(struct interface *ifp, int igmp, int pim) argument 78 zassert(ifp); 79 zassert(!ifp->info); 144 ifp->info = pim_ifp; 146 pim_sock_reset(ifp); 151 pim_if_add_vif(ifp); 157 void pim_if_delete(struct interface *ifp) argument 161 zassert(ifp); 162 pim_ifp = ifp 192 pim_if_update_could_assert(struct interface *ifp) argument 207 pim_if_update_my_assert_metric(struct interface *ifp) argument 222 pim_addr_change(struct interface *ifp) argument 258 on_primary_address_change(struct interface *ifp, const char *caller, struct in_addr old_addr, struct in_addr new_addr) argument 287 detect_primary_address_change(struct interface *ifp, int force_prim_as_any, const char *caller) argument 327 detect_secondary_address_change(struct interface *ifp, const char *caller) argument 358 detect_address_change(struct interface *ifp, int force_prim_as_any, const char *caller) argument 377 struct interface *ifp; local 504 struct interface *ifp; local 526 pim_if_addr_add_all(struct interface *ifp) argument 546 pim_if_addr_del_all(struct interface *ifp) argument 566 pim_if_addr_del_all_igmp(struct interface *ifp) argument 586 pim_if_addr_del_all_pim(struct interface *ifp) argument 606 find_first_nonsec_addr(struct interface *ifp) argument 635 pim_find_primary_addr(struct interface *ifp) argument 645 pim_if_add_vif(struct interface *ifp) argument 701 struct interface *ifp; local 718 pim_if_del_vif(struct interface *ifp) argument 755 struct interface *ifp; local 769 struct interface *ifp; local 782 struct interface *ifp; local 804 pim_if_lan_delay_enabled(struct interface *ifp) argument 815 pim_if_effective_propagation_delay_msec(struct interface *ifp) argument 827 pim_if_effective_override_interval_msec(struct interface *ifp) argument 839 pim_if_t_override_msec(struct interface *ifp) argument 852 pim_if_jp_override_interval_msec(struct interface *ifp) argument 867 pim_if_find_neighbor(struct interface *ifp, struct in_addr addr) argument 906 pim_if_t_suppressed_msec(struct interface *ifp) argument 968 igmp_join_new(struct interface *ifp, struct in_addr group_addr, struct in_addr source_addr) argument 1014 pim_if_igmp_join_add(struct interface *ifp, struct in_addr group_addr, struct in_addr source_addr) argument 1078 pim_if_igmp_join_del(struct interface *ifp, struct in_addr group_addr, struct in_addr source_addr) argument 1133 pim_if_igmp_join_del_all(struct interface *ifp) argument 1169 pim_if_assert_on_neighbor_down(struct interface *ifp, struct in_addr neigh_addr) argument 1215 pim_if_update_assert_tracking_desired(struct interface *ifp) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/pimd/ |
H A D | pim_pim.h | 56 void pim_ifstat_reset(struct interface *ifp); 57 void pim_sock_reset(struct interface *ifp); 58 int pim_sock_add(struct interface *ifp); 59 void pim_sock_delete(struct interface *ifp, const char *delete_message); 60 void pim_hello_restart_now(struct interface *ifp); 61 void pim_hello_restart_triggered(struct interface *ifp); 63 int pim_pim_packet(struct interface *ifp, uint8_t *buf, size_t len);
|
H A D | pim_iface.c | 44 static void pim_if_igmp_join_del_all(struct interface *ifp); 74 struct pim_interface *pim_if_new(struct interface *ifp, int igmp, int pim) argument 78 zassert(ifp); 79 zassert(!ifp->info); 144 ifp->info = pim_ifp; 146 pim_sock_reset(ifp); 151 pim_if_add_vif(ifp); 157 void pim_if_delete(struct interface *ifp) argument 161 zassert(ifp); 162 pim_ifp = ifp 192 pim_if_update_could_assert(struct interface *ifp) argument 207 pim_if_update_my_assert_metric(struct interface *ifp) argument 222 pim_addr_change(struct interface *ifp) argument 258 on_primary_address_change(struct interface *ifp, const char *caller, struct in_addr old_addr, struct in_addr new_addr) argument 287 detect_primary_address_change(struct interface *ifp, int force_prim_as_any, const char *caller) argument 327 detect_secondary_address_change(struct interface *ifp, const char *caller) argument 358 detect_address_change(struct interface *ifp, int force_prim_as_any, const char *caller) argument 377 struct interface *ifp; local 504 struct interface *ifp; local 526 pim_if_addr_add_all(struct interface *ifp) argument 546 pim_if_addr_del_all(struct interface *ifp) argument 566 pim_if_addr_del_all_igmp(struct interface *ifp) argument 586 pim_if_addr_del_all_pim(struct interface *ifp) argument 606 find_first_nonsec_addr(struct interface *ifp) argument 635 pim_find_primary_addr(struct interface *ifp) argument 645 pim_if_add_vif(struct interface *ifp) argument 701 struct interface *ifp; local 718 pim_if_del_vif(struct interface *ifp) argument 755 struct interface *ifp; local 769 struct interface *ifp; local 782 struct interface *ifp; local 804 pim_if_lan_delay_enabled(struct interface *ifp) argument 815 pim_if_effective_propagation_delay_msec(struct interface *ifp) argument 827 pim_if_effective_override_interval_msec(struct interface *ifp) argument 839 pim_if_t_override_msec(struct interface *ifp) argument 852 pim_if_jp_override_interval_msec(struct interface *ifp) argument 867 pim_if_find_neighbor(struct interface *ifp, struct in_addr addr) argument 906 pim_if_t_suppressed_msec(struct interface *ifp) argument 968 igmp_join_new(struct interface *ifp, struct in_addr group_addr, struct in_addr source_addr) argument 1014 pim_if_igmp_join_add(struct interface *ifp, struct in_addr group_addr, struct in_addr source_addr) argument 1078 pim_if_igmp_join_del(struct interface *ifp, struct in_addr group_addr, struct in_addr source_addr) argument 1133 pim_if_igmp_join_del_all(struct interface *ifp) argument 1169 pim_if_assert_on_neighbor_down(struct interface *ifp, struct in_addr neigh_addr) argument 1215 pim_if_update_assert_tracking_desired(struct interface *ifp) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/pimd/ |
H A D | pim_pim.h | 56 void pim_ifstat_reset(struct interface *ifp); 57 void pim_sock_reset(struct interface *ifp); 58 int pim_sock_add(struct interface *ifp); 59 void pim_sock_delete(struct interface *ifp, const char *delete_message); 60 void pim_hello_restart_now(struct interface *ifp); 61 void pim_hello_restart_triggered(struct interface *ifp); 63 int pim_pim_packet(struct interface *ifp, uint8_t *buf, size_t len);
|
H A D | pim_iface.c | 44 static void pim_if_igmp_join_del_all(struct interface *ifp); 74 struct pim_interface *pim_if_new(struct interface *ifp, int igmp, int pim) argument 78 zassert(ifp); 79 zassert(!ifp->info); 144 ifp->info = pim_ifp; 146 pim_sock_reset(ifp); 151 pim_if_add_vif(ifp); 157 void pim_if_delete(struct interface *ifp) argument 161 zassert(ifp); 162 pim_ifp = ifp 192 pim_if_update_could_assert(struct interface *ifp) argument 207 pim_if_update_my_assert_metric(struct interface *ifp) argument 222 pim_addr_change(struct interface *ifp) argument 258 on_primary_address_change(struct interface *ifp, const char *caller, struct in_addr old_addr, struct in_addr new_addr) argument 287 detect_primary_address_change(struct interface *ifp, int force_prim_as_any, const char *caller) argument 327 detect_secondary_address_change(struct interface *ifp, const char *caller) argument 358 detect_address_change(struct interface *ifp, int force_prim_as_any, const char *caller) argument 377 struct interface *ifp; local 504 struct interface *ifp; local 526 pim_if_addr_add_all(struct interface *ifp) argument 546 pim_if_addr_del_all(struct interface *ifp) argument 566 pim_if_addr_del_all_igmp(struct interface *ifp) argument 586 pim_if_addr_del_all_pim(struct interface *ifp) argument 606 find_first_nonsec_addr(struct interface *ifp) argument 635 pim_find_primary_addr(struct interface *ifp) argument 645 pim_if_add_vif(struct interface *ifp) argument 701 struct interface *ifp; local 718 pim_if_del_vif(struct interface *ifp) argument 755 struct interface *ifp; local 769 struct interface *ifp; local 782 struct interface *ifp; local 804 pim_if_lan_delay_enabled(struct interface *ifp) argument 815 pim_if_effective_propagation_delay_msec(struct interface *ifp) argument 827 pim_if_effective_override_interval_msec(struct interface *ifp) argument 839 pim_if_t_override_msec(struct interface *ifp) argument 852 pim_if_jp_override_interval_msec(struct interface *ifp) argument 867 pim_if_find_neighbor(struct interface *ifp, struct in_addr addr) argument 906 pim_if_t_suppressed_msec(struct interface *ifp) argument 968 igmp_join_new(struct interface *ifp, struct in_addr group_addr, struct in_addr source_addr) argument 1014 pim_if_igmp_join_add(struct interface *ifp, struct in_addr group_addr, struct in_addr source_addr) argument 1078 pim_if_igmp_join_del(struct interface *ifp, struct in_addr group_addr, struct in_addr source_addr) argument 1133 pim_if_igmp_join_del_all(struct interface *ifp) argument 1169 pim_if_assert_on_neighbor_down(struct interface *ifp, struct in_addr neigh_addr) argument 1215 pim_if_update_assert_tracking_desired(struct interface *ifp) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/ripd/ |
H A D | rip_interface.c | 48 static int rip_if_down(struct interface *ifp); 141 if (setsockopt_ipv4_multicast_if (sock, connected->ifp->ifindex) < 0) 145 sock, connected->ifp->ifindex, 146 connected->ifp->name); 154 rip_request_interface_send (struct interface *ifp, u_char version) argument 159 if (version == RIPv2 && if_is_multicast (ifp)) 163 zlog_debug ("multicast request on %s", ifp->name); 165 rip_request_send (NULL, ifp, version, NULL); 170 if (if_is_pointopoint (ifp) || if_is_broadcast (ifp)) 207 rip_request_interface(struct interface *ifp) argument 270 rip_multicast_join(struct interface *ifp, int sock) argument 302 rip_multicast_leave(struct interface *ifp, int sock) argument 331 rip_if_ipv4_address_check(struct interface *ifp) argument 358 struct interface *ifp; local 385 struct interface *ifp; local 411 struct interface *ifp; local 441 struct interface *ifp; local 471 struct interface *ifp; local 501 struct interface *ifp; local 524 struct interface *ifp; local 575 rip_if_down(struct interface *ifp) argument 609 struct interface *ifp; local 740 rip_enable_network_lookup_if(struct interface *ifp) argument 901 struct interface *ifp; local 927 rip_connect_set(struct interface *ifp, int set) argument 967 rip_enable_apply(struct interface *ifp) argument 1033 struct interface *ifp; local 1139 rip_passive_interface_apply(struct interface *ifp) argument 1155 struct interface *ifp; local 1325 struct interface *ifp; variable in typeref:struct:interface 1355 struct interface *ifp; variable in typeref:struct:interface 1376 struct interface *ifp; variable in typeref:struct:interface 1396 struct interface *ifp; variable in typeref:struct:interface 1427 struct interface *ifp; variable in typeref:struct:interface 1457 struct interface *ifp; variable in typeref:struct:interface 1478 struct interface *ifp; variable in typeref:struct:interface 1498 struct interface *ifp; variable in typeref:struct:interface 1529 struct interface *ifp; variable in typeref:struct:interface 1598 struct interface *ifp; variable in typeref:struct:interface 1644 struct interface *ifp; variable in typeref:struct:interface 1680 struct interface *ifp; variable in typeref:struct:interface 1713 struct interface *ifp; variable in typeref:struct:interface 1743 struct interface *ifp; variable in typeref:struct:interface 1778 struct interface *ifp; variable in typeref:struct:interface 1796 struct interface *ifp; variable in typeref:struct:interface 1818 struct interface *ifp; variable in typeref:struct:interface 1837 struct interface *ifp; variable in typeref:struct:interface 1900 struct interface *ifp; local 2038 rip_interface_new_hook(struct interface *ifp) argument 2046 rip_interface_delete_hook(struct interface *ifp) argument [all...] |