mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-06 02:27:15 +00:00
removed CamelCase in ppp.c and ppp_impl.h, added compat macro in ppp.h (but disabled for now)
This commit is contained in:
parent
03fda0f803
commit
31456a6dfe
@ -661,7 +661,7 @@ link_terminated(unit)
|
||||
lcp_lowerdown(0);
|
||||
|
||||
new_phase(PHASE_DEAD);
|
||||
pppLinkTerminated(unit);
|
||||
ppp_link_terminated(unit);
|
||||
#if 0
|
||||
/*
|
||||
* Delete pid files before disestablishing ppp. Otherwise it
|
||||
@ -729,7 +729,7 @@ link_down(unit)
|
||||
/* XXX if doing_multilink, should do something to stop
|
||||
network-layer traffic on the link */
|
||||
|
||||
pppLinkDown(unit);
|
||||
ppp_link_down(unit);
|
||||
}
|
||||
|
||||
void upper_layers_down(int unit)
|
||||
|
@ -1762,7 +1762,7 @@ ip_demand_conf(u)
|
||||
wo->accept_local = 1;
|
||||
ask_for_local = 0; /* don't tell the peer this address */
|
||||
}
|
||||
if (!sifaddr(u, wo->ouraddr, wo->hisaddr, GetMask(wo->ouraddr)))
|
||||
if (!sifaddr(u, wo->ouraddr, wo->hisaddr, get_mask(wo->ouraddr)))
|
||||
return 0;
|
||||
if (!sifup(u))
|
||||
return 0;
|
||||
@ -1885,7 +1885,7 @@ ipcp_up(f)
|
||||
script_unsetenv("OLDIPREMOTE");
|
||||
|
||||
/* Set the interface to the new addresses */
|
||||
mask = GetMask(go->ouraddr);
|
||||
mask = get_mask(go->ouraddr);
|
||||
if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
|
||||
if (debug)
|
||||
warn("Interface configuration failed");
|
||||
@ -1914,7 +1914,7 @@ ipcp_up(f)
|
||||
/*
|
||||
* Set IP addresses and (if specified) netmask.
|
||||
*/
|
||||
mask = GetMask(go->ouraddr);
|
||||
mask = get_mask(go->ouraddr);
|
||||
|
||||
#if !(defined(SVR4) && (defined(SNI) || defined(__USLC__)))
|
||||
if (!sifaddr(f->unit, go->ouraddr, ho->hisaddr, mask)) {
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -471,7 +471,7 @@ struct ppp_settings ppp_settings;
|
||||
/* PPP flow functions
|
||||
*/
|
||||
#if PPPOE_SUPPORT
|
||||
void pppOverEthernetInitFailed(int pd);
|
||||
void ppp_over_ethernet_init_failed(int pd);
|
||||
/* function called by pppoe.c */
|
||||
void ppp_input_over_ethernet(int pd, struct pbuf *pb);
|
||||
#endif /* PPPOE_SUPPORT */
|
||||
@ -480,8 +480,8 @@ void ppp_input_over_ethernet(int pd, struct pbuf *pb);
|
||||
int ppp_write(int pd, const u_char *s, int n);
|
||||
|
||||
/* functions called by auth.c link_terminated() */
|
||||
void pppLinkDown(int pd);
|
||||
void pppLinkTerminated(int pd);
|
||||
void ppp_link_down(int pd);
|
||||
void ppp_link_terminated(int pd);
|
||||
|
||||
/* merge a pbuf chain into one pbuf */
|
||||
struct pbuf * ppp_singlebuf(struct pbuf *p);
|
||||
@ -521,7 +521,7 @@ int get_idle_time(int u, struct ppp_idle *ip);
|
||||
|
||||
int get_loop_output(void);
|
||||
|
||||
u_int32_t GetMask (u_int32_t addr);
|
||||
u_int32_t get_mask (u_int32_t addr);
|
||||
|
||||
|
||||
/* Optional protocol names list, to make our messages a little more informative. */
|
||||
|
Loading…
Reference in New Issue
Block a user