Lines Matching refs:PNATState

285 void if_start (PNATState);
303 int get_dns_addr(PNATState pData);
311 void if_init (PNATState);
312 void if_output (PNATState, struct socket *, struct mbuf *);
315 void ip_init (PNATState);
316 void ip_input (PNATState, struct mbuf *);
317 struct mbuf * ip_reass (PNATState, register struct mbuf *);
318 void ip_freef (PNATState, struct ipqhead *, struct ipq_t *);
319 void ip_slowtimo (PNATState);
323 int ip_output (PNATState, struct socket *, struct mbuf *);
324 int ip_output0 (PNATState, struct socket *, struct mbuf *, int urg);
327 int tcp_reass (PNATState, struct tcpcb *, struct tcphdr *, int *, struct mbuf *);
328 void tcp_input (PNATState, register struct mbuf *, int, struct socket *);
329 void tcp_fconnect_failed(PNATState, struct socket *, int);
330 void tcp_dooptions (PNATState, struct tcpcb *, u_char *, int, struct tcpiphdr *);
331 void tcp_xmit_timer (PNATState, register struct tcpcb *, int);
332 int tcp_mss (PNATState, register struct tcpcb *, u_int);
335 int tcp_output (PNATState, register struct tcpcb *);
339 void tcp_init (PNATState);
341 void tcp_respond (PNATState, struct tcpcb *, register struct tcpiphdr *, register struct mbuf *, tcp_seq, tcp_seq, int);
342 struct tcpcb * tcp_newtcpcb (PNATState, struct socket *);
343 struct tcpcb * tcp_close (PNATState, register struct tcpcb *);
345 void tcp_sockclosed (PNATState, struct tcpcb *);
346 int tcp_fconnect (PNATState, struct socket *);
347 void tcp_connect (PNATState, struct socket *);
348 int tcp_attach (PNATState, struct socket *);
350 int tcp_ctl (PNATState, struct socket *);
351 struct tcpcb *tcp_drop(PNATState, struct tcpcb *tp, int err);
354 void slirp_arp_who_has(PNATState pData, uint32_t dst);
355 int slirp_arp_cache_update_or_add(PNATState pData, uint32_t dst, const uint8_t *mac);
356 int slirp_init_dns_list(PNATState pData);
357 void slirp_release_dns_list(PNATState pData);
458 #define SYSCTL_HANDLER_ARGS PNATState pData, void *oidp, struct dummy_req *req
463 int ftp_alias_load(PNATState);
464 int ftp_alias_unload(PNATState);
465 int nbt_alias_load(PNATState);
466 int nbt_alias_unload(PNATState);
467 int dns_alias_load(PNATState);
468 int dns_alias_unload(PNATState);
469 int slirp_arp_lookup_ip_by_ether(PNATState, const uint8_t *, uint32_t *);
470 int slirp_arp_lookup_ether_by_ip(PNATState, uint32_t, uint8_t *);
472 static inline size_t slirp_size(PNATState pData)
487 static inline bool slirpMbufTagService(PNATState pData, struct mbuf *m, uint8_t u8ServiceId)
506 static inline struct mbuf *slirpServiceMbufAlloc(PNATState pData, uint8_t u8ServiceId)
520 static inline struct mbuf *slirpTftpMbufAlloc(PNATState pData)
524 static inline struct mbuf *slirpDnsMbufAlloc(PNATState pData)
529 DECLINLINE(bool) slirpIsWideCasting(PNATState pData, uint32_t u32Addr)