Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 1998 13:02:12 +0300 (MSK)
From:      "Roman V. Palagin" <romanp@wuppy.rcs.ru>
To:        current@FreeBSD.ORG
Subject:   Inconsistency in udp_var.h and ip_var.h
Message-ID:  <Pine.BSF.4.05.SK%2BPRV.9811171255450.3771-100000@room101.wuppy.rcs.ru>

next in thread | raw e-mail | index | archive | help
hello!

just found this kind of error in -current (cvsup'd about hour ago):

in udp_var.h:

struct  udpiphdr {
        struct  ipovly ui_i;            /* overlaid ip structure */
        struct  udphdr ui_u;            /* udp header */
};
#define ui_next         ui_i.ih_next
#define ui_prev         ui_i.ih_prev

in ip_var.h:

struct ipovly {
        u_char  ih_x1[9];               /* (unused) */
        u_char  ih_pr;                  /* protocol */
        u_short ih_len;                 /* protocol length */
        struct  in_addr ih_src;         /* source internet address */
        struct  in_addr ih_dst;         /* destination internet address */
};

as you can see, there is no ih_next and ih_prev members in ipovly. should
ui_next and ui_prev go away?

  -------------------------------------------------------------------------
   Roman V. Palagin      |  RVP1-6BONE | Just because you're paranoid
   Network Administrator |  RP40-RIPE  | doesn't mean they AREN'T after you


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.SK%2BPRV.9811171255450.3771-100000>