Lines Matching refs:PNATState

63 static void bootp_reply(PNATState pData, struct mbuf *m0, int offReply, uint16_t flags);
87 static BOOTPClient *bc_alloc_client(PNATState pData)
109 static BOOTPClient *get_new_addr(PNATState pData, struct in_addr *paddr)
123 static int release_addr(PNATState pData, struct in_addr *paddr)
185 static BOOTPClient *find_addr(PNATState pData, struct in_addr *paddr, const uint8_t *macaddr)
208 static struct mbuf *dhcp_create_msg(PNATState pData, struct bootp_t *bp, struct mbuf *m, uint8_t type)
243 static int dhcp_do_ack_offer(PNATState pData, struct mbuf *m, BOOTPClient *bc, int fDhcpRequest)
352 static int dhcp_send_nack(PNATState pData, struct bootp_t *bp, BOOTPClient *bc, struct mbuf *m)
360 static int dhcp_send_ack(PNATState pData, struct bootp_t *bp, BOOTPClient *bc, struct mbuf *m, int fDhcpRequest)
369 static int dhcp_send_offer(PNATState pData, struct bootp_t *bp, BOOTPClient *bc, struct mbuf *m)
400 static int dhcp_decode_request(PNATState pData, struct bootp_t *bp, struct mbuf *m)
567 static int dhcp_decode_discover(PNATState pData, struct bootp_t *bp, int fDhcpDiscover, struct mbuf *m)
610 static int dhcp_decode_release(PNATState pData, struct bootp_t *bp)
683 static void dhcp_decode(PNATState pData, struct bootp_t *bp, const uint8_t *buf, int size)
809 static void bootp_reply(PNATState pData, struct mbuf *m, int offReply, uint16_t flags)
844 void bootp_input(PNATState pData, struct mbuf *m)
852 int bootp_cache_lookup_ip_by_ether(PNATState pData,const uint8_t* ether, uint32_t *pip)
873 int bootp_cache_lookup_ether_by_ip(PNATState pData, uint32_t ip, uint8_t *ether)
894 int bootp_dhcp_init(PNATState pData)
903 int bootp_dhcp_fini(PNATState pData)