• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/zebra/ospf6d/

Lines Matching refs:ospf6_header

92   struct ospf6_header *ospf6_header;
99 ospf6_header = (struct ospf6_header *) message[0].iov_base;
100 length_left = ntohs (ospf6_header->len) - sizeof (struct ospf6_header);
101 length_left = (length_left < iov_totallen (message) - sizeof (struct ospf6_header) ?
102 length_left : iov_totallen (message) - sizeof (struct ospf6_header));
132 struct ospf6_header *ospf6_header;
140 ospf6_header = (struct ospf6_header *) message[0].iov_base;
141 length_left = ntohs (ospf6_header->len) - sizeof (struct ospf6_header);
142 length_left = (length_left < iov_totallen (message) - sizeof (struct ospf6_header) ?
143 length_left : iov_totallen (message) - sizeof (struct ospf6_header));
177 struct ospf6_header *ospf6_header;
184 ospf6_header = (struct ospf6_header *) message[0].iov_base;
185 length_left = ntohs (ospf6_header->len) - sizeof (struct ospf6_header);
186 length_left = (length_left < iov_totallen (message) - sizeof (struct ospf6_header) ?
187 length_left : iov_totallen (message) - sizeof (struct ospf6_header));
210 struct ospf6_header *ospf6_header;
217 ospf6_header = (struct ospf6_header *) message[0].iov_base;
218 length_left = ntohs (ospf6_header->len) - sizeof (struct ospf6_header);
219 length_left = (length_left < iov_totallen (message) - sizeof (struct ospf6_header) ?
220 length_left : iov_totallen (message) - sizeof (struct ospf6_header));
249 struct ospf6_header *ospf6_header;
255 ospf6_header = (struct ospf6_header *) message[0].iov_base;
256 length_left = ntohs (ospf6_header->len) - sizeof (struct ospf6_header);
257 length_left = (length_left < iov_totallen (message) - sizeof (struct ospf6_header) ?
258 length_left : iov_totallen (message) - sizeof (struct ospf6_header));
287 struct ospf6_header *o6h;
291 assert (message[0].iov_len == sizeof (struct ospf6_header));
292 o6h = (struct ospf6_header *) message[0].iov_base;
333 struct ospf6_header *ospf6_header;
350 ospf6_header = (struct ospf6_header *) message[0].iov_base;
351 length = ntohs (ospf6_header->len) - sizeof (struct ospf6_header);
510 struct ospf6_header *ospf6_header;
516 ospf6_header = (struct ospf6_header *) message[0].iov_base;
517 length = ntohs (ospf6_header->len) - sizeof (struct ospf6_header);
679 struct ospf6_header *ospf6_header;
685 ospf6_header = (struct ospf6_header *) message[0].iov_base;
686 length = ntohs (ospf6_header->len) - sizeof (struct ospf6_header);
853 struct ospf6_header *ospf6_header;
863 ospf6_header = (struct ospf6_header *) message[0].iov_base;
864 length = ntohs (ospf6_header->len) - sizeof (struct ospf6_header);
881 if (IS_OSPF6_DUMP_MESSAGE (ospf6_header->type))
911 struct ospf6_header *ospf6_header;
925 ospf6_header = (struct ospf6_header *) message[0].iov_base;
926 length = ntohs (ospf6_header->len) - sizeof (struct ospf6_header);
940 if (IS_OSPF6_DUMP_MESSAGE (ospf6_header->type))
985 if (sizeof (struct ospf6_header) + sizeof (struct ospf6_lsupdate)
1015 struct ospf6_header *ospf6_header;
1026 ospf6_header = (struct ospf6_header *) message[0].iov_base;
1027 length = ntohs (ospf6_header->len) - sizeof (struct ospf6_header);
1041 if (IS_OSPF6_DUMP_MESSAGE (ospf6_header->type))
1093 struct ospf6_header *ospf6_header;
1103 ospf6_header = (struct ospf6_header *) message[0].iov_base;
1104 length = ntohs (ospf6_header->len) - sizeof (struct ospf6_header);
1118 if (IS_OSPF6_DUMP_MESSAGE (ospf6_header->type))
1203 struct ospf6_header *ospf6_header = NULL;
1213 ospf6_header = (struct ospf6_header *) message[0].iov_base;
1216 if (ospf6_header->version != OSPF6_VERSION)
1218 if (IS_OSPF6_DUMP_MESSAGE (ospf6_header->type))
1224 if (ospf6_header->area_id != o6i->area->area_id)
1226 if (ospf6_header->area_id == 0)
1228 if (IS_OSPF6_DUMP_MESSAGE (ospf6_header->type))
1233 if (IS_OSPF6_DUMP_MESSAGE (ospf6_header->type))
1239 if (ospf6_header->instance_id != o6i->instance_id)
1241 if (IS_OSPF6_DUMP_MESSAGE (ospf6_header->type))
1247 router_id = ospf6_header->router_id;
1248 if (ospf6_header->router_id == o6i->area->ospf6->router_id)
1257 type = (ospf6_header->type >= OSPF6_MESSAGE_TYPE_MAX ?
1258 OSPF6_MESSAGE_TYPE_UNKNOWN : ospf6_header->type);
1265 o6i->message_stat[type].recv_octet += ntohs (ospf6_header->len)
1281 struct ospf6_header ospf6_header;
1292 memset (&ospf6_header, 0, sizeof (struct ospf6_header));
1294 OSPF6_MESSAGE_ATTACH (message, &ospf6_header, sizeof (struct ospf6_header));
1300 type = (OSPF6_MESSAGE_TYPE_UNKNOWN < ospf6_header.type &&
1301 ospf6_header.type <= OSPF6_MESSAGE_TYPE_LSACK ?
1302 ospf6_header.type : OSPF6_MESSAGE_TYPE_UNKNOWN);
1358 struct ospf6_header ospf6_header;
1371 if (msg_len + sizeof (struct ospf6_header) >= o6i->interface->mtu)
1373 if (msg_len + sizeof (struct ospf6_header) >= o6i->ifmtu)
1384 msg_len + sizeof (struct ospf6_header),
1399 memset (&ospf6_header, 0, sizeof (ospf6_header));
1400 ospf6_header.version = OSPF6_VERSION;
1401 ospf6_header.type = type;
1402 ospf6_header.len = htons (msg_len + sizeof (struct ospf6_header));
1403 ospf6_header.router_id = ospf6->router_id;
1404 ospf6_header.area_id = o6i->area->area_id;
1406 ospf6_header.instance_id = o6i->instance_id;
1407 ospf6_header.reserved = 0;
1408 OSPF6_MESSAGE_ATTACH (message, &ospf6_header, sizeof (struct ospf6_header));
1417 o6i->message_stat[type].send_octet += ntohs (ospf6_header.len);
1634 + sizeof (struct ospf6_header)
1756 + sizeof (struct ospf6_header)
1818 + sizeof (struct ospf6_header)