Home
last modified time | relevance | path

Searched refs:ifa (Results 1 – 25 of 2683) sorted by relevance

12345678910>>...108

/dports/net/bird/bird-1.6.8/proto/ospf/
H A Diface.c145 ifa->all_routers = ifa->addr->brd; in ospf_sk_open()
244 ifa->ifname, ifa->instance_id, ifa->oa->areaid); in ospf_iface_down()
247 ifa->ifname, ifa->addr->opposite, ifa->oa->areaid); in ospf_iface_down()
250 ifa->ifname, ifa->addr->prefix, ifa->addr->pxlen, ifa->oa->areaid); in ospf_iface_down()
495 ifa->hello_timer = tm_new_set(ifa->pool, hello_timer_hook, ifa, 0, ifa->helloint); in ospf_iface_add()
498 ifa->poll_timer = tm_new_set(ifa->pool, poll_timer_hook, ifa, 0, ifa->pollint); in ospf_iface_add()
591 ifa->tx_length = ifa_tx_length(ifa); in ospf_iface_new()
592 ifa->tx_hdrlen = ifa_tx_hdrlen(ifa); in ospf_iface_new()
690 ifa->ifname = (void *) (ifa + 1); in ospf_iface_new_vlink()
716 ifa->hello_timer = tm_new_set(ifa->pool, hello_timer_hook, ifa, 0, ifa->helloint); in ospf_iface_new_vlink()
[all …]
H A Dhello.c62 if (ifa->stub) in ospf_send_hello()
66 pkt = ospf_tx_buffer(ifa); in ospf_send_hello()
74 ((ifa->type == OSPF_IT_PTP) && !ifa->ptp_netmask)) in ospf_send_hello()
130 switch(ifa->type) in ospf_send_hello()
157 (n1->rid == ifa->drid) || (n1->rid == ifa->bdrid)) in ospf_send_hello()
171 if (ipa_nonzero(ifa->addr->opposite) && !ifa->strictnbma && in ospf_send_hello()
172 EMPTY_LIST(ifa->neigh_list) && EMPTY_LIST(ifa->nbma_list)) in ospf_send_hello()
173 ospf_send_to(ifa, ifa->addr->opposite); in ospf_send_hello()
177 ospf_send_to(ifa, ifa->vip); in ospf_send_hello()
268 uint t = ifa->type; in ospf_receive_hello()
[all …]
H A Dpacket.c49 switch (ifa->autype) in ospf_pkt_finalize()
79 if (!ifa->csn) in ospf_pkt_finalize()
88 ifa->csn++; in ospf_pkt_finalize()
90 ifa->csn_use = now; in ospf_pkt_finalize()
235 src_local = ipa_in_net(sk->faddr, ifa->addr->prefix, ifa->addr->pxlen); in ospf_rx_hook()
253 if (ifa->cf->real_bcast && ipa_equal(sk->faddr, ifa->addr->ip)) in ospf_rx_hook()
351 ifa = iff; in ospf_rx_hook()
380 if (ipa_equal(sk->laddr, ifa->des_routers) && (ifa->sk_dr == 0)) in ospf_rx_hook()
390 uint t = ifa->type; in ospf_rx_hook()
496 ospf_send_to(ifa, ifa->drip); in ospf_send_to_bdr()
[all …]
H A Dneighbor.c85 n->ifa = ifa; in ospf_neighbor_new()
109 struct ospf_iface *ifa = n->ifa; in ospf_neigh_down() local
113 if ((ifa->type == OSPF_IT_NBMA) || (ifa->type == OSPF_IT_PTMP)) in ospf_neigh_down()
139 struct ospf_iface *ifa = n->ifa; in ospf_neigh_chstate() local
162 ifa->fadj++; in ospf_neigh_chstate()
166 ifa->fadj--; in ospf_neigh_chstate()
315 struct ospf_iface *ifa = n->ifa; in can_do_adj() local
338 if (((n->rid == ifa->drid) || (n->rid == ifa->bdrid)) in can_do_adj()
518 DBG("DR=%R, BDR=%R\n", ifa->drid, ifa->bdrid); in ospf_dr_election()
529 if ((ifa->drid != old_drid) || (ifa->bdrid != old_bdrid)) in ospf_dr_election()
[all …]
/dports/net/bird2/bird-2.0.8/proto/ospf/
H A Diface.c151 ifa->all_routers = ifa->addr->brd; in ospf_sk_open()
251 ifa->ifname, ifa->instance_id, ifa->oa->areaid); in ospf_iface_down()
254 ifa->ifname, ifa->addr->opposite, ifa->oa->areaid); in ospf_iface_down()
257 ifa->ifname, &ifa->addr->prefix, ifa->oa->areaid); in ospf_iface_down()
502 ifa->hello_timer = tm_new_init(ifa->pool, hello_timer_hook, ifa, ifa->helloint S, 0); in ospf_iface_add()
505 ifa->poll_timer = tm_new_init(ifa->pool, poll_timer_hook, ifa, ifa->pollint S, 0); in ospf_iface_add()
598 ifa->tx_length = ifa_tx_length(ifa); in ospf_iface_new()
599 ifa->tx_hdrlen = ifa_tx_hdrlen(ifa); in ospf_iface_new()
696 ifa->ifname = (void *) (ifa + 1); in ospf_iface_new_vlink()
724 ifa->hello_timer = tm_new_init(ifa->pool, hello_timer_hook, ifa, ifa->helloint S, 0); in ospf_iface_new_vlink()
[all …]
H A Dhello.c66 if (ifa->stub) in ospf_send_hello()
78 ((ifa->type == OSPF_IT_PTP) && !ifa->ptp_netmask)) in ospf_send_hello()
96 u32 options = ifa->oa->options | (ifa->autype == OSPF_AUTH_CRYPT ? OPT_AT : 0); in ospf_send_hello()
132 switch(ifa->type) in ospf_send_hello()
159 (n1->rid == ifa->drid) || (n1->rid == ifa->bdrid)) in ospf_send_hello()
173 if (ipa_nonzero(ifa->addr->opposite) && !ifa->strictnbma && in ospf_send_hello()
174 EMPTY_LIST(ifa->neigh_list) && EMPTY_LIST(ifa->nbma_list)) in ospf_send_hello()
175 ospf_send_to(ifa, ifa->addr->opposite); in ospf_send_hello()
179 ospf_send_to(ifa, ifa->vip); in ospf_send_hello()
275 uint t = ifa->type; in ospf_receive_hello()
[all …]
H A Dneighbor.c87 n->ifa = ifa; in ospf_neighbor_new()
109 struct ospf_iface *ifa = n->ifa; in ospf_neigh_down() local
139 struct ospf_iface *ifa = n->ifa; in ospf_neigh_chstate() local
162 ifa->fadj++; in ospf_neigh_chstate()
166 ifa->fadj--; in ospf_neigh_chstate()
327 struct ospf_iface *ifa = n->ifa; in can_do_adj() local
350 if (((n->rid == ifa->drid) || (n->rid == ifa->bdrid)) in can_do_adj()
392 struct ospf_iface *ifa = n->ifa; in ospf_neigh_stop_graceful_restart_() local
465 struct ospf_iface *ifa = n->ifa; in ospf_neigh_notify_grace_lsa() local
706 DBG("DR=%R, BDR=%R\n", ifa->drid, ifa->bdrid); in ospf_dr_election()
[all …]
H A Dpacket.c56 pkt->autype = ifa->autype; in ospf_pkt_finalize2()
58 switch (ifa->autype) in ospf_pkt_finalize2()
88 if (!ifa->csn) in ospf_pkt_finalize2()
97 ifa->csn++; in ospf_pkt_finalize2()
424 if (ifa->cf->real_bcast && ipa_equal(sk->faddr, ifa->addr->ip)) in ospf_rx_hook()
519 ifa = iff; in ospf_rx_hook()
548 if (ipa_equal(sk->laddr, ifa->des_routers) && (ifa->sk_dr == 0)) in ospf_rx_hook()
566 uint t = ifa->type; in ospf_rx_hook()
653 sock *sk = ifa->sk; in ospf_send_to()
681 ospf_send_to(ifa, ifa->drip); in ospf_send_to_bdr()
[all …]
H A Dlsupd.c195 if (ifa->flood_queue_used == ifa->flood_queue_size) in ospf_enqueue_lsa()
198 …uint sent = ospf_flood_lsupd(p, ifa->flood_queue, ifa->flood_queue_used, ifa->flood_queue_used / 2… in ospf_enqueue_lsa()
205 memmove(ifa->flood_queue, ifa->flood_queue + sent, ifa->flood_queue_used * sizeof(void *)); in ospf_enqueue_lsa()
210 ifa->flood_queue[ifa->flood_queue_used] = en; in ospf_enqueue_lsa()
230 ospf_flood_lsupd(p, ifa->flood_queue, count, count, ifa); in ospf_flood_event()
312 if (from && (from->ifa == ifa)) in ospf_flood_lsa()
315 if ((from->rid == ifa->drid) || (from->rid == ifa->bdrid)) in ospf_flood_lsa()
418 struct ospf_iface *ifa = n->ifa; in ospf_send_lsupd() local
478 if ((ifa->oa == oa) && ifa->addr && ipa_equal(ifa->addr->ip, ip)) in ospf_addr_is_local()
653 if ((ifa->state != OSPF_IS_BACKUP) || (n->rid == ifa->drid)) in ospf_receive_lsupd()
[all …]
/dports/net/bird2/bird-2.0.8/proto/rip/
H A Drip.c405 n->ifa = ifa; in rip_get_neighbor()
527 tm_set(ifa->timer, ifa->next_regular); in rip_iface_start()
540 rip_send_table(p, ifa, ifa->addr, 0); in rip_iface_start()
583 int up = ifa->sk && rip_iface_link_up(ifa); in rip_iface_update_state()
744 rip_send_table(p, ifa, ifa->addr, 0); in rip_reconfigure_iface()
1000 rip_send_table(p, ifa, ifa->addr, 0); in rip_iface_timer()
1009 rip_send_table(p, ifa, ifa->addr, ifa->want_triggered); in rip_iface_timer()
1015 if (ifa->want_triggered && (ifa->next_triggered < ifa->next_regular)) in rip_iface_timer()
1018 tm_set(ifa->timer, ifa->next_regular); in rip_iface_timer()
1318 i++, ifa->iface->name, ifa->sk ? ifa->sk->daddr : IPA_NONE, in rip_dump()
[all …]
H A Dpackets.c233 ifa->csn = (ifa->csn < now_real) ? now_real : ifa->csn + 1; in rip_update_csn()
286 auth->seq_num = ifa->csn_ready ? htonl(ifa->csn) : 0; in rip_fill_authentication()
439 tm_start(ifa->rxmt_timer, ifa->cf->rxmt_time); in rip_kick_rxmt_timer()
468 rip_send_to(p, ifa, pkt, pos - (byte *) pkt, ifa->addr); in rip_send_request()
527 rip_fill_update_hdr(pkt, ifa->tx_flush, ifa->tx_seqnum); in rip_send_response()
574 if (en->from == ifa->iface && ifa->cf->split_horizon) in rip_send_response()
799 return rip_send_to(p, ifa, pkt, rip_pkt_hdrlen(ifa), ifa->tx_addr); in rip_send_flush()
812 return rip_send_to(p, ifa, pkt, rip_pkt_hdrlen(ifa), ifa->tx_addr); in rip_send_ack()
823 if (! ifa->tx_active || ! ifa->tx_pending) in rip_receive_ack()
839 FIB_ITERATE_COPY(&ifa->tx_done, &ifa->tx_fit, &p->rtable); in rip_receive_ack()
[all …]
/dports/net/bird/bird-1.6.8/proto/rip/
H A Drip.c411 n->ifa = ifa; in rip_get_neighbor()
537 rip_send_request(ifa->rip, ifa); in rip_iface_start()
566 int up = ifa->sk && rip_iface_link_up(ifa); in rip_iface_update_state()
583 uint rbsize = ifa->cf->rx_buffer ?: ifa->iface->mtu; in rip_iface_update_buffers()
780 if (!ifa) in rip_if_notify()
956 rip_send_table(p, ifa, ifa->addr, 0); in rip_iface_timer()
965 rip_send_table(p, ifa, ifa->addr, ifa->want_triggered); in rip_iface_timer()
971 tm_start(ifa->timer, ifa->want_triggered ? 1 : (ifa->next_regular - now)); in rip_iface_timer()
1207 ifa->iface->name, (ifa->up ? "Up" : "Down"), ifa->cf->metric, nbrs, timer); in rip_show_interfaces()
1271 i++, ifa->iface->name, ifa->sk ? ifa->sk->daddr : IPA_NONE, in rip_dump()
[all …]
H A Dpackets.c191 ifa->csn = (ifa->csn < (u32) now_real) ? (u32) now_real : ifa->csn + 1; in rip_update_csn()
222 auth->seq_num = ifa->csn_ready ? htonl(ifa->csn) : 0; in rip_fill_authentication()
390 rip_send_to(p, ifa, pkt, pos - (byte *) pkt, ifa->addr); in rip_send_request()
414 if (ifa->tx_active) in rip_receive_request()
432 byte *max = rip_tx_buffer(ifa) + ifa->tx_plen - in rip_send_response()
489 if (en->from == ifa->iface && ifa->cf->split_horizon) in rip_send_response()
517 ifa->tx_active = 0; in rip_send_response()
525 return rip_send_to(p, ifa, pkt, pos - (byte *) pkt, ifa->tx_addr); in rip_send_response()
549 ifa->tx_active = 1; in rip_send_table()
748 sk->data = ifa; in rip_open_socket()
[all …]
/dports/net/bird/bird-1.6.8/proto/radv/
H A Dradv.c48 { ifa->plen = 0; } in radv_invalidate()
70 ifa->last = now; in radv_timer()
74 if (ifa->initial) in radv_timer()
95 radv_prefix_match(struct radv_iface *ifa, struct ifa *a) in radv_prefix_match() argument
219 if (!ifa->sk) in radv_iface_notify()
264 return ifa; in radv_iface_find()
294 ifa->ra = p; in radv_iface_new()
295 ifa->cf = cf; in radv_iface_new()
357 if (!ifa) in radv_if_notify()
383 if (ifa) in radv_ifa_notify()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/net/ipv4/
H A Ddevinet.c157 if (!ifa) { in __ip_dev_find()
189 return ifa; in inet_lookup_ifaddr_rcu()
226 kfree(ifa); in inet_rcu_free_ifa()
405 for (ifa = promote; ifa; ifa = rtnl_dereference(ifa->ifa_next)) { in __inet_del_ifa()
448 for (ifa = next_sec; ifa; in __inet_del_ifa()
449 ifa = rtnl_dereference(ifa->ifa_next)) { in __inet_del_ifa()
819 ifa->ifa_cstamp = ifa->ifa_tstamp; in set_ifa_lifetime()
854 if (!ifa) in rtm_to_ifaddr()
1176 ifa->ifa_broadcast = ifa->ifa_address | in devinet_ioctl()
1221 ifa->ifa_prefixlen = inet_mask_len(ifa->ifa_mask); in devinet_ioctl()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/ipv4/
H A Ddevinet.c157 if (!ifa) { in __ip_dev_find()
189 return ifa; in inet_lookup_ifaddr_rcu()
226 kfree(ifa); in inet_rcu_free_ifa()
405 for (ifa = promote; ifa; ifa = rtnl_dereference(ifa->ifa_next)) { in __inet_del_ifa()
448 for (ifa = next_sec; ifa; in __inet_del_ifa()
449 ifa = rtnl_dereference(ifa->ifa_next)) { in __inet_del_ifa()
819 ifa->ifa_cstamp = ifa->ifa_tstamp; in set_ifa_lifetime()
854 if (!ifa) in rtm_to_ifaddr()
1176 ifa->ifa_broadcast = ifa->ifa_address | in devinet_ioctl()
1221 ifa->ifa_prefixlen = inet_mask_len(ifa->ifa_mask); in devinet_ioctl()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/ipv4/
H A Ddevinet.c157 if (!ifa) { in __ip_dev_find()
189 return ifa; in inet_lookup_ifaddr_rcu()
226 kfree(ifa); in inet_rcu_free_ifa()
405 for (ifa = promote; ifa; ifa = rtnl_dereference(ifa->ifa_next)) { in __inet_del_ifa()
448 for (ifa = next_sec; ifa; in __inet_del_ifa()
449 ifa = rtnl_dereference(ifa->ifa_next)) { in __inet_del_ifa()
819 ifa->ifa_cstamp = ifa->ifa_tstamp; in set_ifa_lifetime()
854 if (!ifa) in rtm_to_ifaddr()
1176 ifa->ifa_broadcast = ifa->ifa_address | in devinet_ioctl()
1221 ifa->ifa_prefixlen = inet_mask_len(ifa->ifa_mask); in devinet_ioctl()
[all …]
/dports/net/bird2/bird-2.0.8/proto/radv/
H A Dradv.c66 ifa->last = now; in radv_timer()
68 btime r = (ifa->cf->max_ra_int - ifa->cf->min_ra_int) S; in radv_timer()
219 if (!ifa->sk) in radv_iface_notify()
240 btime t = ifa->last + ifa->cf->min_delay S - current_time(); in radv_iface_notify()
290 ifa->ra = p; in radv_iface_new()
291 ifa->cf = cf; in radv_iface_new()
299 ifa->timer = tm_new_init(pool, radv_timer, ifa, 0, 0); in radv_iface_new()
336 if (ifa) in radv_if_notify()
357 if (!ifa) in radv_if_notify()
377 if (ifa) in radv_ifa_notify()
[all …]
H A Dpackets.c118 ifa->valid_time = MIN(ifa->valid_time, rt->changed + ifa->cf->route_linger_time S); in radv_prepare_route()
167 ifa->ra->p.name, ifa->iface->name); in radv_prepare_rdnss()
253 ifa->ra->p.name, ifa->iface->name); in radv_prepare_dnssl()
266 ifa->ra->p.name, ifa->iface->name); in radv_prepare_prefix()
286 ifa->valid_time = MIN(ifa->valid_time, px->changed + ifa->cf->prefix_linger_time S); in radv_prepare_prefix()
384 radv_invalidate(ifa); in radv_send_ra()
387 if (!ifa->plen) in radv_send_ra()
400 int done = sk_send_to(ifa->sk, ifa->plen, to, 0); in radv_send_ra()
463 log(L_INFO "%s: TX queue ready on %s", ifa->ra->p.name, ifa->iface->name); in radv_tx_hook()
493 sk->data = ifa; in radv_sk_open()
[all …]
/dports/lang/ruby26/ruby-2.6.9/ext/socket/
H A Difaddr.c111 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) in rsock_getifaddrs()
119 ifa = ifaddrs; in rsock_getifaddrs()
123 ifa = ifa->ifa_next; in rsock_getifaddrs()
201 if (ifa->ifa_addr) in ifaddr_addr()
218 if (ifa->ifa_netmask) in ifaddr_netmask()
235 if ((ifa->ifa_flags & IFF_BROADCAST) && ifa->ifa_broadaddr) in ifaddr_broadaddr()
252 if ((ifa->ifa_flags & IFF_POINTOPOINT) && ifa->ifa_dstaddr) in ifaddr_dstaddr()
270 if (ifa->ifa_data) in ifaddr_vhid()
368 if (ifa->ifa_flags) in ifaddr_inspect()
384 if ((ifa->ifa_flags & IFF_BROADCAST) && ifa->ifa_broadaddr) { in ifaddr_inspect()
[all …]
/dports/net/bird/bird-1.6.8/proto/babel/
H A Dbabel.c303 nbr->ifa = ifa; in babel_get_neighbor()
405 struct babel_iface *ifa = n->ifa; in babel_compute_rxcost() local
439 struct babel_iface *ifa = n->ifa; in babel_compute_cost() local
663 struct babel_iface *ifa = n->ifa; in babel_send_route_request() local
723 struct babel_iface *ifa = r->neigh->ifa; in babel_unicast_seqno_request() local
816 if (!ifa->up || ifa->want_triggered) in babel_trigger_iface_update()
1420 int up = ifa->sk && babel_iface_link_up(ifa); in babel_iface_update_state()
1498 ifa->timer = tm_new_set(ifa->pool, babel_iface_timer, ifa, 0, 0); in babel_add_iface()
1501 ifa->send_event = ev_new(ifa->pool); in babel_add_iface()
1503 ifa->send_event->data = ifa; in babel_add_iface()
[all …]
/dports/net/bird2/bird-2.0.8/proto/babel/
H A Dbabel.c424 nbr->ifa = ifa; in babel_get_neighbor()
958 ifa->next_hop_ip4 : ifa->next_hop_ip6); in babel_send_update_()
998 if (!ifa->up || ifa->want_triggered) in babel_trigger_iface_update()
1437 babel_send_update(ifa, ifa->want_triggered); in babel_iface_timer()
1512 int up = ifa->sk && babel_iface_link_up(ifa); in babel_iface_update_state()
1529 ifa->next_hop_ip4 = ipa_nonzero(ifa->cf->next_hop_ip4) ? ifa->cf->next_hop_ip4 : addr4; in babel_iface_update_addr4()
1612 ifa->timer = tm_new_init(ifa->pool, babel_iface_timer, ifa, 0, 0); in babel_add_iface()
1615 ifa->send_event = ev_new_init(ifa->pool, babel_send_queue, ifa); in babel_add_iface()
1816 ifa->ifname, ifa->addr, ifa->cf->rxcost, ifa->cf->type, ifa->hello_seqno, in babel_dump_iface()
1904 ifa->iface->name, (ifa->up ? "Up" : "Down"), in babel_show_interfaces()
[all …]
/dports/cad/calculix-ccx/CalculiX/ccx_2.18/src/
H A Dcorrectfluxcomp.f49 ifa=neifa(indexf)
60 flux(indexf)=flux(indexf)+vfa(5,ifa)*advfa(ifa)*
66 & (vfa(5,ifa)*r*vfa(0,ifa))
71 if(ielfa(3,ifa).le.0) then
72 indexb=-ielfa(2,ifa)
89 & (vfa(5,ifa)*r*vfa(0,ifa)))
96 & (vfa(5,ifa)*r*vfa(0,ifa)))
108 flux(indexf)=flux(indexf)+vfa(5,ifa)*advfa(ifa)
114 & (vfa(5,ifa)*r*vfa(0,ifa))
119 indexb=-ielfa(2,ifa)
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/netwerk/sctp/src/netinet/
H A Dsctp_bsd_addr.c231 ifa6 = (struct in6_ifaddr *)ifa->ifa;
234 if (ifa->flags &
243 if (ifa->flags &
319 struct ifaddrs *ifa; local
440 for (ifa = g_interfaces; ifa; ifa = ifa->ifa_next) {
505 struct ifaddr *ifa; local
580 struct ifaddr *ifa; local
730 … ifnet_index(ifa->ifa_ifp), ifnet_type(ifa->ifa_ifp), ifnet_name(ifa->ifa_ifp),
732 ifa->ifa_ifp->if_index, ifa->ifa_ifp->if_type, ifa->ifa_ifp->if_xname,
734 (void *)ifa, ifa->ifa_addr, ifa_flags, 1);
[all …]
/dports/audio/shairport-sync/shairport-sync-3.3.9/
H A Dmdns_tinysvcmdns.c43 struct ifaddrs *ifa; in mdns_tinysvcmdns_register() local
69 ifa = ifalist; in mdns_tinysvcmdns_register()
72 for (ifa = ifalist; ifa != NULL; ifa = ifa->ifa_next) { in mdns_tinysvcmdns_register()
76 if (!(ifa->ifa_flags & IFF_LOOPBACK) && ifa->ifa_addr && in mdns_tinysvcmdns_register()
77 ifa->ifa_addr->sa_family == AF_INET) { in mdns_tinysvcmdns_register()
82 } else if (!(ifa->ifa_flags & IFF_LOOPBACK) && ifa->ifa_addr && in mdns_tinysvcmdns_register()
83 ifa->ifa_addr->sa_family == AF_INET6) { in mdns_tinysvcmdns_register()
92 if (ifa == NULL) { in mdns_tinysvcmdns_register()
98 for (ifa = ifa->ifa_next; ifa != NULL; ifa = ifa->ifa_next) { in mdns_tinysvcmdns_register()
103 switch (ifa->ifa_addr->sa_family) { in mdns_tinysvcmdns_register()
[all …]

12345678910>>...108