/openbsd/usr.sbin/dvmrpd/ |
H A D | interface.c | 151 struct iface *iface; in if_find_index() local 165 struct iface *iface; in if_new() local 245 if_del(struct iface *iface) in if_del() 260 if_nbr_list_empty(struct iface *iface) in if_nbr_list_empty() 269 struct iface *iface = arg; in if_probe_timer() local 300 struct iface *iface = arg; in if_query_timer() local 337 struct iface *iface = arg; in if_querier_present_timer() local 376 if_act_start(struct iface *iface) in if_act_start() 450 if_act_reset(struct iface *iface) in if_act_reset() 599 if_set_mcast(struct iface *iface) in if_set_mcast() [all …]
|
H A D | dvmrpd.h | 141 struct iface *iface; member 176 struct iface { struct 181 time_t uptime; 188 struct in_addr addr; 189 struct in_addr dst; 190 struct in_addr mask; 193 u_int64_t baudrate; 194 u_int32_t gen_id; 195 u_int32_t group_cnt; 222 enum iface_type type; argument [all …]
|
H A D | packet.c | 48 gen_dvmrp_hdr(struct ibuf *buf, struct iface *iface, u_int8_t code) in gen_dvmrp_hdr() 65 send_packet(struct iface *iface, struct ibuf *pkt, struct sockaddr_in *dst) in send_packet() 107 struct iface *iface; in recv_packet() local 265 u_int16_t len, const struct iface *iface) in dvmrp_hdr_sanity_check() 283 struct iface *iface = NULL; in find_iface() local
|
H A D | dvmrpe.c | 71 struct iface *iface = NULL; in dvmrpe() local 191 struct iface *iface; in dvmrpe_shutdown() local 239 struct iface *iface; in dvmrpe_dispatch_main() local 312 struct iface *iface; in dvmrpe_dispatch_rde() local 462 struct iface *iface; in dvmrpe_iface_ctl() local 476 struct iface *iface; in dvmrpe_iface_igmp_ctl() local 492 struct iface *iface; in dvmrpe_nbr_ctl() local
|
H A D | rde.c | 156 struct iface *iface; in rde_shutdown() local 206 struct iface *iface; in rde_dispatch_imsg() local 343 rde_select_ds_ifs(struct mfc *mfc, struct iface *iface) in rde_select_ds_ifs() 368 rde_group_list_add(struct iface *iface, struct in_addr group) in rde_group_list_add() 398 rde_group_list_find(struct iface *iface, struct in_addr group) in rde_group_list_find() 419 rde_group_list_remove(struct iface *iface, struct in_addr group) in rde_group_list_remove()
|
H A D | igmp.c | 38 send_igmp_query(struct iface *iface, struct group *group) in send_igmp_query() 89 recv_igmp_query(struct iface *iface, struct in_addr src, char *buf, in recv_igmp_query() 136 recv_igmp_report(struct iface *iface, struct in_addr src, char *buf, in recv_igmp_report() 188 recv_igmp_leave(struct iface *iface, struct in_addr src, char *buf, in recv_igmp_leave()
|
/openbsd/usr.sbin/ospf6d/ |
H A D | interface.c | 181 struct iface *iface; in if_find() local 193 struct iface *iface; in if_findname() local 205 struct iface *iface; in if_new() local 259 if_del(struct iface *iface) in if_del() 309 struct iface *iface = arg; in if_hello_timer() local 341 struct iface *iface = arg; in if_wait_timer() local 366 if_act_start(struct iface *iface) in if_act_start() 449 if_act_elect(struct iface *iface) in if_act_elect() 579 if_act_reset(struct iface *iface) in if_act_reset() 641 if_to_ctl(struct iface *iface) in if_to_ctl() [all …]
|
H A D | lsack.c | 39 prepare_ls_ack(struct iface *iface) in prepare_ls_ack() 59 send_ls_ack(struct iface *iface, struct in6_addr addr, struct ibuf *buf) in send_ls_ack() 75 send_direct_ack(struct iface *iface, struct in6_addr addr, void *d, size_t len) in send_direct_ack() 180 ls_ack_list_add(struct iface *iface, struct lsa_hdr *lsa) in ls_ack_list_add() 205 ls_ack_list_free(struct iface *iface, struct lsa_entry *le) in ls_ack_list_free() 215 ls_ack_list_clr(struct iface *iface) in ls_ack_list_clr() 228 ls_ack_list_empty(struct iface *iface) in ls_ack_list_empty() 238 struct iface *iface = arg; in ls_ack_tx_timer() local 297 start_ls_ack_tx_timer(struct iface *iface) in start_ls_ack_tx_timer() 309 start_ls_ack_tx_timer_now(struct iface *iface) in start_ls_ack_tx_timer_now() [all …]
|
H A D | ospf6d.h | 288 struct iface { struct 296 TAILQ_HEAD(, iface_addr) ifa_list; argument 297 struct lsa_head ls_ack_list; 301 char name[IF_NAMESIZE]; 302 char demote_group[IFNAMSIZ]; 303 char dependon[IFNAMSIZ]; 327 enum iface_type type; argument 328 u_int8_t if_type; 329 u_int8_t linkstate; 330 u_int8_t priority; [all …]
|
H A D | packet.c | 48 gen_ospf_hdr(struct ibuf *buf, struct iface *iface, u_int8_t type) in gen_ospf_hdr() 65 upd_ospf_hdr(struct ibuf *buf, struct iface *iface) in upd_ospf_hdr() 83 send_packet(struct iface *iface, struct ibuf *buf, in send_packet() 129 struct iface *iface; in recv_packet() local 255 const struct iface *iface, struct in6_addr *dst) in ospf_hdr_sanity_check() 308 struct iface *iface, *match = NULL; in find_iface() local
|
H A D | ospfe.c | 74 struct iface *iface; in ospfe() local 194 struct iface *iface; in ospfe_shutdown() local 247 struct iface *iface, *ifp, *i; in ospfe_dispatch_main() local 439 struct iface *iface; in ospfe_dispatch_rde() local 732 struct iface *iface = NULL; in find_vlink() local 769 struct iface *iface; in orig_rtr_lsa() local 977 orig_net_lsa(struct iface *iface) in orig_net_lsa() 1041 orig_link_lsa(struct iface *iface) in orig_link_lsa() 1157 struct iface *iface; in ospfe_iface_ctl() local 1174 struct iface *iface; in ospfe_nbr_ctl() local [all …]
|
/openbsd/usr.sbin/ldpd/ |
H A D | interface.c | 47 struct iface *iface; in if_new() local 87 if_exit(struct iface *iface) in if_exit() 107 struct iface *iface; in if_lookup() local 117 iface_af_get(struct iface *iface, int af) in iface_af_get() 163 struct iface *iface; in if_addr_add() local 199 struct iface *iface; in if_addr_del() local 234 if_start(struct iface *iface, int af) in if_start() 268 if_reset(struct iface *iface, int af) in if_reset() 354 if_update(struct iface *iface, int af) in if_update() 370 struct iface *iface; in if_update_all() local [all …]
|
/openbsd/usr.sbin/ospfd/ |
H A D | lsack.c | 39 prepare_ls_ack(struct iface *iface) in prepare_ls_ack() 59 send_ls_ack(struct iface *iface, struct in_addr addr, struct ibuf *buf) in send_ls_ack() 81 send_direct_ack(struct iface *iface, struct in_addr addr, void *d, size_t len) in send_direct_ack() 184 ls_ack_list_add(struct iface *iface, struct lsa_hdr *lsa) in ls_ack_list_add() 207 ls_ack_list_free(struct iface *iface, struct lsa_entry *le) in ls_ack_list_free() 217 ls_ack_list_clr(struct iface *iface) in ls_ack_list_clr() 230 ls_ack_list_empty(struct iface *iface) in ls_ack_list_empty() 240 struct iface *iface = arg; in ls_ack_tx_timer() local 300 start_ls_ack_tx_timer(struct iface *iface) in start_ls_ack_tx_timer() 312 start_ls_ack_tx_timer_now(struct iface *iface) in start_ls_ack_tx_timer_now() [all …]
|
H A D | interface.c | 162 struct iface *iface; in if_new() local 218 if_del(struct iface *iface) in if_del() 262 struct iface *iface = arg; in if_hello_timer() local 288 if_stop_hello_timer(struct iface *iface) in if_stop_hello_timer() 297 struct iface *iface = arg; in if_wait_timer() local 314 if_stop_wait_timer(struct iface *iface) in if_stop_wait_timer() 322 if_act_start(struct iface *iface) in if_act_start() 401 if_act_elect(struct iface *iface) in if_act_elect() 531 if_act_reset(struct iface *iface) in if_act_reset() 587 if_to_ctl(struct iface *iface) in if_to_ctl() [all …]
|
H A D | ospfd.h | 319 struct iface { struct 322 struct event wait_timer; 334 struct in_addr addr; 335 struct in_addr dst; 336 struct in_addr mask; 360 enum iface_type type; argument 362 u_int8_t if_type; 363 u_int8_t auth_keyid; 364 u_int8_t linkstate; 365 u_int8_t priority; [all …]
|
H A D | ospfe.c | 74 struct iface *iface; in ospfe() local 210 struct iface *iface; in ospfe_shutdown() local 269 struct iface *iface = NULL; in ospfe_dispatch_main() local 489 struct iface *iface; in ospfe_dispatch_rde() local 793 struct iface *iface = NULL; in find_vlink() local 830 struct iface *iface; in orig_rtr_lsa() local 1117 orig_net_lsa(struct iface *iface) in orig_net_lsa() 1201 struct iface *iface; in ospfe_iface_ctl() local 1218 struct iface *iface; in ospfe_nbr_ctl() local 1256 ospfe_demote_iface(struct iface *iface, int active) in ospfe_demote_iface()
|
H A D | packet.c | 46 gen_ospf_hdr(struct ibuf *buf, struct iface *iface, u_int8_t type) in gen_ospf_hdr() 63 send_packet(struct iface *iface, struct ibuf *buf, struct sockaddr_in *dst) in send_packet() 122 struct iface *iface; in recv_packet() local 282 u_int16_t len, const struct iface *iface) in ospf_hdr_sanity_check() 334 struct iface *iface = NULL; in find_iface() local
|
/openbsd/usr.sbin/eigrpd/ |
H A D | interface.c | 63 struct iface *iface; in if_new() local 97 if_del(struct iface *iface) in if_del() 115 struct iface *iface; in if_lookup() local 125 if_addr_new(struct iface *iface, struct kaddr *ka) in if_addr_new() 156 if_addr_del(struct iface *iface, struct kaddr *ka) in if_addr_del() 200 if_primary_addr(struct iface *iface) in if_primary_addr() 212 if_primary_addr_prefixlen(struct iface *iface) in if_primary_addr_prefixlen() 225 if_update(struct iface *iface, int af) in if_update() 281 struct iface *iface; in eigrp_if_new() local 612 if_set_ipv4_mcast(struct iface *iface) in if_set_ipv4_mcast() [all …]
|
/openbsd/usr.sbin/ripd/ |
H A D | interface.c | 73 if_init(struct ripd_conf *xconf, struct iface *iface) in if_init() 97 if_fsm(struct iface *iface, enum iface_event event) in if_fsm() 158 struct iface *iface; in if_find_index() local 171 if_act_start(struct iface *iface) in if_act_start() 212 if_act_reset(struct iface *iface) in if_act_reset() 296 if_set_mcast(struct iface *iface) in if_set_mcast() 341 if_join_group(struct iface *iface, struct in_addr *addr) in if_join_group() 363 if_leave_group(struct iface *iface, struct in_addr *addr) in if_leave_group() 388 struct iface *iface; in if_new() local 458 if_del(struct iface *iface) in if_del() [all …]
|
H A D | ripd.h | 161 struct iface { struct 183 enum iface_type type; argument 184 enum auth_type auth_type; 185 u_int8_t linktype; 186 u_int8_t if_type; 187 u_int8_t passive; 188 u_int8_t linkstate; 189 u_int8_t auth_keyid;
|
H A D | ripe.c | 72 struct iface *iface = NULL; in ripe() local 229 struct iface *iface; in ripe_dispatch_main() local 307 struct iface *iface; in ripe_dispatch_rde() local 452 struct iface *iface; in ripe_shutdown() local 492 struct iface *iface; in ripe_iface_ctl() local 507 struct iface *iface; in ripe_nbr_ctl() local 523 ripe_demote_iface(struct iface *iface, int active) in ripe_demote_iface()
|
/openbsd/sbin/dhcpleased/ |
H A D | frontend.c | 67 struct iface { struct 91 struct iface *get_iface_by_id(uint32_t); argument 239 struct iface *iface; in frontend_dispatch_main() local 466 struct iface *iface; in frontend_dispatch_engine() local 577 struct iface *iface; in update_iface() local 665 struct iface *iface; in init_ifaces() local 854 struct iface *iface; in bpf_receive() local 1053 send_packet(uint8_t message_type, struct iface *iface) in send_packet() 1166 struct iface *iface; in get_iface_by_id() local 1179 struct iface *iface; in remove_iface() local [all …]
|
H A D | engine.c | 283 struct dhcpleased_iface *iface; in engine_dispatch_frontend() local 533 struct dhcpleased_iface *iface; in engine_dispatch_main() local 610 struct dhcpleased_iface *iface; in engine_showinfo_ctl() local 630 struct dhcpleased_iface *iface; in engine_update_iface() local 690 struct dhcpleased_iface *iface; in get_dhcpleased_iface_by_id() local 702 struct dhcpleased_iface *iface; in remove_dhcpleased_iface() local 1569 request_dhcp_discover(struct dhcpleased_iface *iface) in request_dhcp_discover() 1597 request_dhcp_request(struct dhcpleased_iface *iface) in request_dhcp_request() 1749 send_routes_withdraw(struct dhcpleased_iface *iface) in send_routes_withdraw() 1810 send_rdns_proposal(struct dhcpleased_iface *iface) in send_rdns_proposal() [all …]
|
/openbsd/sbin/slaacd/ |
H A D | frontend.c | 70 struct iface { struct 91 struct iface *get_iface_by_id(uint32_t); argument 495 struct iface *iface; in update_iface() local 995 struct iface *iface; in send_solicitation() local 1029 struct iface *iface; in get_iface_by_id() local 1042 struct iface *iface; in remove_iface() local 1058 struct iface *iface; in get_icmp6ev_by_rdomain() local 1091 unref_icmp6ev(struct iface *iface) in unref_icmp6ev() 1110 struct iface *iface; in set_icmp6sock() local
|
H A D | engine.c | 453 struct slaacd_iface *iface; in engine_dispatch_frontend() local 867 struct slaacd_iface *iface; in engine_showinfo_ctl() local 892 struct slaacd_iface *iface; in get_slaacd_iface_by_id() local 904 struct slaacd_iface *iface; in remove_slaacd_iface() local 1044 struct slaacd_iface *iface; in addr_proposal_state_transition() local 1123 struct slaacd_iface *iface; in dfr_proposal_state_transition() local 1197 struct slaacd_iface *iface; in rdns_proposal_state_transition() local 1287 struct slaacd_iface *iface; in engine_update_iface() local 2127 struct slaacd_iface *iface; in configure_address() local 2364 struct slaacd_iface *iface; in compose_rdns_proposal() local [all …]
|