mirror of https://gitee.com/openkylin/qemu.git
slirp: move internal function declarations
Clarify that those functions are internal to slirp. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
This commit is contained in:
parent
d3b9408c9b
commit
634d03487b
|
@ -7,9 +7,6 @@ typedef struct Slirp Slirp;
|
|||
|
||||
typedef void (*slirp_output)(void *opaque, const uint8_t *pkt, int pkt_len);
|
||||
|
||||
int get_dns_addr(struct in_addr *pdns_addr);
|
||||
int get_dns6_addr(struct in6_addr *pdns6_addr, uint32_t *scope_id);
|
||||
|
||||
Slirp *slirp_init(int restricted, bool in_enabled, struct in_addr vnetwork,
|
||||
struct in_addr vnetmask, struct in_addr vhost,
|
||||
bool in6_enabled,
|
||||
|
|
|
@ -232,6 +232,9 @@ extern Slirp *slirp_instance;
|
|||
|
||||
void if_start(Slirp *);
|
||||
|
||||
int get_dns_addr(struct in_addr *pdns_addr);
|
||||
int get_dns6_addr(struct in6_addr *pdns6_addr, uint32_t *scope_id);
|
||||
|
||||
/* ncsi.c */
|
||||
void ncsi_input(Slirp *slirp, const uint8_t *pkt, int pkt_len);
|
||||
|
||||
|
|
Loading…
Reference in New Issue