Changeset e67b6ea1 in rtems


Ignore:
Timestamp:
Mar 29, 2007, 5:16:42 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
5f1bbae
Parents:
e907f7d9
Message:

Eliminate P().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/netinet/ip_fw.c

    re907f7d9 re67b6ea1  
    8282#define dprint_ip(a)    if (!fw_debug); else print_ip(a)
    8383
    84 static int      add_entry __P((struct ip_fw_head *chainptr, struct ip_fw *frwl));
    85 static int      del_entry __P((struct ip_fw_head *chainptr, u_short number));
    86 static int      zero_entry __P((struct mbuf *m));
    87 static struct ip_fw *check_ipfw_struct __P((struct ip_fw *m));
    88 static struct ip_fw *check_ipfw_mbuf __P((struct mbuf *fw));
    89 static int      ipopts_match __P((struct ip *ip, struct ip_fw *f));
    90 static int      port_match __P((u_short *portptr, int nports, u_short port,
    91                                 int range_flag));
    92 static int      tcpflg_match __P((struct tcphdr *tcp, struct ip_fw *f));
    93 static int      icmptype_match __P((struct icmp *  icmp, struct ip_fw * f));
    94 static void     ipfw_report __P((struct ip_fw *f, struct ip *ip,
    95                                 struct ifnet *rif, struct ifnet *oif));
     84static int      add_entry(struct ip_fw_head *chainptr, struct ip_fw *frwl);
     85static int      del_entry(struct ip_fw_head *chainptr, u_short number);
     86static int      zero_entry(struct mbuf *m);
     87static struct ip_fw *check_ipfw_struct(struct ip_fw *m);
     88static struct ip_fw *check_ipfw_mbuf(struct mbuf *fw);
     89static int      ipopts_match(struct ip *ip, struct ip_fw *f);
     90static int      port_match(u_short *portptr, int nports, u_short port,
     91                                int range_flag);
     92static int      tcpflg_match(struct tcphdr *tcp, struct ip_fw *f);
     93static int      icmptype_match(struct icmp *  icmp, struct ip_fw * f);
     94static void     ipfw_report(struct ip_fw *f, struct ip *ip,
     95                                struct ifnet *rif, struct ifnet *oif);
    9696
    9797#ifdef IPFIREWALL_MODULE
     
    100100#endif
    101101
    102 static int      ip_fw_chk __P((struct ip **pip, int hlen,
    103                         struct ifnet *oif, int ignport, struct mbuf **m));
    104 static int      ip_fw_ctl __P((int stage, struct mbuf **mm));
     102static int      ip_fw_chk(struct ip **pip, int hlen,
     103                        struct ifnet *oif, int ignport, struct mbuf **m);
     104static int      ip_fw_ctl(int stage, struct mbuf **mm);
    105105
    106106static char err_prefix[] = "ip_fw_ctl:";
Note: See TracChangeset for help on using the changeset viewer.