Home
last modified time | relevance | path

Searched refs:lsrp (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/tcpdump/
H A Dprint-ospf.c977 const struct lsr *lsrp; in ospf_decode_v2() local
1030 lsrp = op->ospf_lsr; in ospf_decode_v2()
1031 while ((const u_char *)lsrp < dataend) { in ospf_decode_v2()
1032 ND_TCHECK_SIZE(lsrp); in ospf_decode_v2()
1035 GET_IPADDR_STRING(lsrp->ls_router), in ospf_decode_v2()
1036 tok2str(lsa_values,"unknown",GET_BE_U_4(lsrp->ls_type)), in ospf_decode_v2()
1037 GET_BE_U_4(lsrp->ls_type)); in ospf_decode_v2()
1039 switch (GET_BE_U_4(lsrp->ls_type)) { in ospf_decode_v2()
1045 … tok2str(lsa_opaque_values, "unknown",GET_U_1(lsrp->un_ls_stateid.opaque_field.opaque_type)), in ospf_decode_v2()
1046 GET_U_1(lsrp->un_ls_stateid.opaque_field.opaque_type), in ospf_decode_v2()
[all …]
H A Dprint-ospf6.c741 const struct lsr6 *lsrp; in ospf6_decode_v3() local
803 lsrp = (const struct lsr6 *)((const uint8_t *)op + OSPF6HDR_LEN); in ospf6_decode_v3()
804 while ((const u_char *)lsrp < dataend) { in ospf6_decode_v3()
805 ND_TCHECK_SIZE(lsrp); in ospf6_decode_v3()
807 GET_IPADDR_STRING(lsrp->ls_router)); in ospf6_decode_v3()
809 GET_BE_U_2(lsrp->ls_type), in ospf6_decode_v3()
810 &lsrp->ls_stateid); in ospf6_decode_v3()
811 ++lsrp; in ospf6_decode_v3()
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dcommands.c2515 char *cp, *cp2, *lsrp = NULL, *lsrep = NULL; in sourceroute() local
2538 lsrp = lsr; in sourceroute()
2539 lsrep = lsrp + sizeof(lsr); in sourceroute()
2548 *lsrp++ = IPOPT_SSRR; in sourceroute()
2550 *lsrp++ = IPOPT_LSRR; in sourceroute()
2553 lsrp++; /* skip over length, we'll fill it in later */ in sourceroute()
2554 *lsrp++ = 4; in sourceroute()
2618 if (lsrp + 4 > lsrep) { in sourceroute()
2623 memcpy(lsrp, &sin->sin_addr, sizeof(struct in_addr)); in sourceroute()
2624 lsrp += sizeof(struct in_addr); in sourceroute()
[all …]
/freebsd/contrib/telnet/telnet/
H A Dcommands.c2852 unsigned char *cp, *cp2, *lsrp, *ep; in sourceroute() local
2888 lsrp = *cpp; in sourceroute()
2889 ep = lsrp + *lenp; in sourceroute()
2891 *cpp = lsrp = (char *)ALIGN(buf); in sourceroute()
2892 ep = lsrp + 1024; in sourceroute()
2916 *lsrp++ = IPOPT_SSRR; in sourceroute()
2918 *lsrp++ = IPOPT_LSRR; in sourceroute()
2923 lsrp++; /* skip over length, we'll fill it in later */ in sourceroute()
2924 *lsrp++ = 4; in sourceroute()
2983 memcpy(lsrp, (char *)&_sin->sin_addr, 4); in sourceroute()
[all …]