Revision ae80a2de proto/bgp/packets.c

View differences:

proto/bgp/packets.c
289 289
    }
290 290
}
291 291

  
292
static unsigned int
293
bgp_encode_prefixes(struct bgp_proto *p, byte *w, struct bgp_bucket *buck, unsigned int remains)
292
static uint
293
bgp_encode_prefixes(struct bgp_proto *p, byte *w, struct bgp_bucket *buck, uint remains)
294 294
{
295 295
  byte *start = w;
296 296
  ip_addr a;
......
648 648

  
649 649

  
650 650
static void
651
bgp_create_header(byte *buf, unsigned int len, unsigned int type)
651
bgp_create_header(byte *buf, uint len, uint type)
652 652
{
653 653
  memset(buf, 0xff, 16);		/* Marker */
654 654
  put_u16(buf+16, len);
......
669 669
bgp_fire_tx(struct bgp_conn *conn)
670 670
{
671 671
  struct bgp_proto *p = conn->bgp;
672
  unsigned int s = conn->packets_to_send;
672
  uint s = conn->packets_to_send;
673 673
  sock *sk = conn->sk;
674 674
  byte *buf, *pkt, *end;
675 675
  int type;

Also available in: Unified diff