#ifndef IPPROTO_AH
#define IPPROTO_AH 51
#endif
#ifndef ARPHRD_IPSECTUN
#define ARPHRD_IPSECTUN 31 /* IPSec tunneled mode */
#define SPRINT_BSIZE 64
#define SPRINT_BUF(x) char x[SPRINT_BSIZE]
int l;
if (alen == 4 &&
(type == ARPHRD_TUNNEL || type == ARPHRD_SIT || type == ARPHRD_IPGRE)) {
(type == ARPHRD_TUNNEL || type == ARPHRD_SIT || type == ARPHRD_IPGRE || type == ARPHRD_IPSECTUN)) {
return inet_ntop(AF_INET, addr, buf, blen);
}
l = 0;
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/sockios.h>
#include "utils.h"
char * ll_type_n2a(int type, char *buf, int len)
{
#ifdef ARPHRD_IEEE1394
__PF(IEEE1394,ieee1394)
__PF(IPSECTUN,ipsectun)
__PF(SLIP,slip)
__PF(CSLIP,cslip)