struct ospf_area_config *ac;
struct ospf_iface_patt *ip = NULL;
struct ospf_iface *ifa;
- struct ospf_area *oa;
DBG("%s: If notify called\n", p->name);
if (iface->flags & IF_IGNORE)
struct ospf_iface *ifa;
struct ospf_neighbor *n;
struct proto_ospf *po = (struct proto_ospf *) p;
- struct ospf_area *oa;
OSPF_TRACE(D_EVENTS, "Area number: %d", po->areano);
struct ospf_iface *ifa;
struct nbma_node *nb1, *nb2, *nbnx;
struct ospf_area *oa = NULL;
- struct area_net *anet, *antmp;
int found, olddead, newdead;
- struct net_fib *nf;
struct area_net_config *anc;
struct area_net *an;
- //return !memcmp(((byte *) old) + sizeof(struct proto_config),
- // ((byte *) new) + sizeof(struct proto_config),
- // sizeof(struct ospf_config) - sizeof(struct proto_config));
-
-
po->rfc1583 = new->rfc1583;
schedule_rtcalc(po);
void
ospf_pkt_finalize(struct ospf_iface *ifa, struct ospf_packet *pkt)
{
- struct proto_ospf *po = ifa->oa->po;
- struct proto *p = &po->proto;
struct password_item *passwd = password_find (ifa->passwords);
void *tail;
struct MD5Context ctxt;
static int
ospf_pkt_checkauth(struct ospf_neighbor *n, struct ospf_iface *ifa, struct ospf_packet *pkt, int size)
{
- int i;
struct proto_ospf *po = ifa->oa->po;
struct proto *p = &po->proto;
struct password_item *pass = NULL, *ptmp;
ip_addr *mask, ip, abrip; /* abrIP is actually ID */
struct area_net *anet;
orta nf;
- ort *re, *abr;
+ ort *abr;
int mlen = -1, type = -1;
union ospf_lsa_sum_tm *tm;
{
struct proto *p = &po->proto;
struct ospf_area *oa;
- int i;
ort *ri;
struct area_net *anet;
struct ospf_iface *nhi = NULL;
int met1, met2;
neighbor *nn;
- struct ospf_lsa_rt *rt;
struct ospf_area *atmp;
originate_rt_lsa_body(struct ospf_area *oa, u16 * length)
{
struct proto_ospf *po = oa->po;
- struct proto *p = &po->proto;
struct ospf_iface *ifa;
int j = 0, k = 0;
u16 i = 0;
struct ospf_lsa_header lsa;
int max, i;
struct ospf_lsa_sum *sum = NULL;
- union ospf_lsa_sum_tm *tm;
lsa.rt = rtid;
lsa.type = LSA_T_SUM_NET;
void
check_sum_lsa(struct proto_ospf *po, ort *nf, int dest)
{
- struct proto *p = &po->proto;
struct ospf_area *oa;
- struct area_net *anet;
int flush, mlen;
ip_addr ip;