The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

#include "ppport.h"

#include "const-c.inc"
#include "lpm_lib.h"

MODULE = Net::IP::LPM		PACKAGE = Net::IP::LPM

INCLUDE: const-xs.inc



int 
lpm_init()


int 
lpm_add(handle, prefix, value)
	int handle
	char *prefix
	SV *value


SV * 
lpm_lookup(handle, addr)
	int handle
	char *addr


SV * 
lpm_lookup_raw(handle, addr)
	int handle
	SV *addr


SV * 
lpm_info(handle)
	int handle


void 
lpm_finish(handle)
	int handle


void 
lpm_destroy(handle)
	int handle