public static extern int sendnewportmappingrequest([In, Out] ref natpmp_t p, [In] int protocol, [In] UInt16 privateport, [In] UInt16 publicport, [In] UInt32 lifetime);
public static extern int sendpublicaddressrequest([In, Out] ref natpmp_t p);
public static extern int closenatpmp([In, Out] ref natpmp_t p);
public static extern int initnatpmp([In, Out] ref natpmp_t p);
public static extern int readnatpmpresponseorretry([In, Out] ref natpmp_t p, [In, Out] ref natpmpresp_t response);
public static extern int getnatpmprequesttimeout([In, Out] ref natpmp_t p, [In, Out] ref Win32.TimeValue timeout);