Lines Matching defs:pnt
51 u_char *pnt;
55 pnt = peer->notify.data;
56 end = pnt + peer->notify.length;
58 while (pnt < end)
60 memcpy(&cap, pnt, sizeof(struct capability));
62 if (pnt + 2 > end)
64 if (pnt + (cap.length + 2) > end)
110 pnt += cap.length + 2;
195 u_char *pnt)
230 number_of_orfs = *pnt++;
234 type = *pnt++;
235 mode = *pnt++;
311 bgp_capability_parse (struct peer *peer, u_char *pnt, u_char length,
318 end = pnt + length;
320 while (pnt < end)
326 memcpy (&cap, pnt, sizeof (struct capability));
336 if (pnt + 2 > end)
344 if (pnt + (cap.length + 2) > end)
398 bgp_capability_orf (peer, &cap, pnt + sizeof (struct capability));
431 pnt += cap.length + 2;
437 bgp_auth_parse (struct peer *peer, u_char *pnt, size_t length)
465 u_char *pnt;
470 pnt = stream_pnt (peer->ibuf);
475 end = pnt + length;
482 while (pnt < end)
485 if (pnt + 2 > end)
493 opt_type = *pnt++;
494 opt_length = *pnt++;
497 if (pnt + opt_length > end)
514 ret = bgp_auth_parse (peer, pnt, opt_length);
517 ret = bgp_capability_parse (peer, pnt, opt_length, &error);
536 pnt += opt_length;