Searched refs:lsrp (Results 1 – 3 of 3) sorted by relevance
974 const struct lsr *lsrp; in ospf_decode_v2() local1027 lsrp = op->ospf_lsr; in ospf_decode_v2()1028 while ((const u_char *)lsrp < dataend) { in ospf_decode_v2()1029 ND_TCHECK_SIZE(lsrp); in ospf_decode_v2()1032 GET_IPADDR_STRING(lsrp->ls_router), in ospf_decode_v2()1033 tok2str(lsa_values,"unknown",GET_BE_U_4(lsrp->ls_type)), in ospf_decode_v2()1034 GET_BE_U_4(lsrp->ls_type)); in ospf_decode_v2()1036 switch (GET_BE_U_4(lsrp->ls_type)) { in ospf_decode_v2()1042 … tok2str(lsa_opaque_values, "unknown",GET_U_1(lsrp->un_ls_stateid.opaque_field.opaque_type)), in ospf_decode_v2()1043 GET_U_1(lsrp->un_ls_stateid.opaque_field.opaque_type), in ospf_decode_v2()[all …]
734 const struct lsr6 *lsrp; in ospf6_decode_v3() local796 lsrp = (const struct lsr6 *)((const uint8_t *)op + OSPF6HDR_LEN); in ospf6_decode_v3()797 while ((const u_char *)lsrp < dataend) { in ospf6_decode_v3()798 ND_TCHECK_SIZE(lsrp); in ospf6_decode_v3()800 GET_IPADDR_STRING(lsrp->ls_router)); in ospf6_decode_v3()802 GET_BE_U_2(lsrp->ls_type), in ospf6_decode_v3()803 &lsrp->ls_stateid); in ospf6_decode_v3()804 ++lsrp; in ospf6_decode_v3()
106 LIBS += -lsrp -L/usr/local/ssl/lib -lcrypto