代码搜索:ifm
找到约 87 项符合「ifm」的源代码
代码结果 87
www.eeworm.com/read/279175/10458533
c if_sysctl.c
/*
* Get interface's address and mask information by sysctl() function.
* Copyright (C) 1997, 98 Kunihiro Ishiguro
*
* This file is part of GNU Zebra.
*
* GNU Zebra is free software; you can red
www.eeworm.com/read/278507/10530582
lc if_nametoindex.lc
/* include if_nametoindex */
#include "unpifi.h"## 1 ##src/libroute/if_nametoindex.c##
#include "unproute.h"## 2 ##src/libroute/if_nametoindex.c##
unsigned int## 3 ##src/libroute/if_nametoin
www.eeworm.com/read/278507/10530625
c if_indextoname.c
/* include if_indextoname */
#include "unpifi.h"
#include "unproute.h"
char *
if_indextoname(unsigned int idx, char *name)
{
char *buf, *next, *lim;
size_t len;
struct if_msghdr *ifm;
struc
www.eeworm.com/read/278507/10531036
c mynetstat.c
#include "unproute.h"
void pr_rtable(int);
void pr_iflist(int);
int
main(int argc, char **argv)
{
int family;
if (argc != 2)
err_quit("usage: mynetstat ");
if (strcmp(argv[1],
www.eeworm.com/read/448648/7528664
c if_sysctl.c
/*
* Get interface's address and mask information by sysctl() function.
* Copyright (C) 1997, 98 Kunihiro Ishiguro
*
* This file is part of GNU Zebra.
*
* GNU Zebra is free software; you can red
www.eeworm.com/read/145256/12742662
c if_sysctl.c
/*
* Get interface's address and mask information by sysctl() function.
* Copyright (C) 1997, 98 Kunihiro Ishiguro
*
* This file is part of GNU Zebra.
*
* GNU Zebra is free software; you can red
www.eeworm.com/read/127694/6002521
c if_indextoname.c
/* include if_indextoname */
#include "unpifi.h"
#include "unproute.h"
char *
if_indextoname(unsigned int index, char *name)
{
char *buf, *next, *lim;
size_t len;
struct if_msghdr *ifm;
str
www.eeworm.com/read/127694/6002645
c mynetstat.c
#include "unproute.h"
void pr_rtable(void);
void pr_iflist(void);
int
main(int argc, char **argv)
{
pr_rtable();
pr_iflist();
exit(0);
}
void
pr_rtable(void)
{
char *buf, *next, *lim;
siz
www.eeworm.com/read/408584/11380575
lc if_nametoindex.lc
/* include if_nametoindex */
#include "unpifi.h"## 1 ##src/libroute/if_nametoindex.c##
#include "unproute.h"## 2 ##src/libroute/if_nametoindex.c##
unsigned int## 3 ##src/libroute/if_nametoin
www.eeworm.com/read/408584/11380596
c if_indextoname.c
/* include if_indextoname */
#include "unpifi.h"
#include "unproute.h"
char *
if_indextoname(unsigned int idx, char *name)
{
char *buf, *next, *lim;
size_t len;
struct if_msghdr *ifm;
struc