Mark more function prototypes as extern.
This commit is contained in:
parent
4feac2ea35
commit
f4a2a487d6
18
ndhc/arp.h
18
ndhc/arp.h
@ -59,14 +59,14 @@ extern int arp_probe_min;
|
|||||||
extern int arp_probe_max;
|
extern int arp_probe_max;
|
||||||
extern int arp_relentless_def;
|
extern int arp_relentless_def;
|
||||||
|
|
||||||
void arp_reset_send_stats(void);
|
extern void arp_reset_send_stats(void);
|
||||||
int arp_close_fd(struct client_state_t *cs);
|
extern int arp_close_fd(struct client_state_t *cs);
|
||||||
int arp_check(struct client_state_t *cs, struct dhcpmsg *packet);
|
extern int arp_check(struct client_state_t *cs, struct dhcpmsg *packet);
|
||||||
int arp_gw_check(struct client_state_t *cs);
|
extern int arp_gw_check(struct client_state_t *cs);
|
||||||
void arp_set_defense_mode(struct client_state_t *cs);
|
extern void arp_set_defense_mode(struct client_state_t *cs);
|
||||||
void arp_success(struct client_state_t *cs);
|
extern void arp_success(struct client_state_t *cs);
|
||||||
void handle_arp_response(struct client_state_t *cs);
|
extern void handle_arp_response(struct client_state_t *cs);
|
||||||
void handle_arp_timeout(struct client_state_t *cs, long long nowts);
|
extern void handle_arp_timeout(struct client_state_t *cs, long long nowts);
|
||||||
long long arp_get_wake_ts(void);
|
extern long long arp_get_wake_ts(void);
|
||||||
|
|
||||||
#endif /* ARP_H_ */
|
#endif /* ARP_H_ */
|
||||||
|
20
ndhc/dhcp.h
20
ndhc/dhcp.h
@ -80,15 +80,15 @@ struct udp_dhcp_packet {
|
|||||||
struct dhcpmsg data;
|
struct dhcpmsg data;
|
||||||
};
|
};
|
||||||
|
|
||||||
void set_listen_raw(struct client_state_t *cs);
|
extern void set_listen_raw(struct client_state_t *cs);
|
||||||
void set_listen_cooked(struct client_state_t *cs);
|
extern void set_listen_cooked(struct client_state_t *cs);
|
||||||
void set_listen_none(struct client_state_t *cs);
|
extern void set_listen_none(struct client_state_t *cs);
|
||||||
void handle_packet(struct client_state_t *cs);
|
extern void handle_packet(struct client_state_t *cs);
|
||||||
int send_discover(struct client_state_t *cs);
|
extern int send_discover(struct client_state_t *cs);
|
||||||
int send_selecting(struct client_state_t *cs);
|
extern int send_selecting(struct client_state_t *cs);
|
||||||
int send_renew(struct client_state_t *cs);
|
extern int send_renew(struct client_state_t *cs);
|
||||||
int send_rebind(struct client_state_t *cs);
|
extern int send_rebind(struct client_state_t *cs);
|
||||||
int send_decline(struct client_state_t *cs, uint32_t server);
|
extern int send_decline(struct client_state_t *cs, uint32_t server);
|
||||||
int send_release(struct client_state_t *cs);
|
extern int send_release(struct client_state_t *cs);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user