THE SOFTWARE.
*/
-#include <string.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <assert.h>
-#include <sys/time.h>
-#include <sys/ioctl.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <net/if.h>
-#include <arpa/inet.h>
-
#include <zebra.h>
#include "memory.h"
#include "log.h"
{
struct listnode *node;
struct interface *ifp;
- babel_interface_nfo *babel_ifp;
int write = 0;
for (ALL_LIST_ELEMENTS_RO (iflist, node, ifp)) {
- babel_ifp = babel_get_if_nfo(ifp);
-
/* Do not display the interface if there is no configuration about it */
if (ifp->desc == NULL)
continue;
THE SOFTWARE.
*/
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-#include <assert.h>
-#include <sys/time.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-
#include <zebra.h>
#include "if.h"
send_request(struct interface *ifp,
const unsigned char *prefix, unsigned char plen)
{
- babel_interface_nfo *babel_ifp = NULL;
int v4, len;
if(ifp == NULL) {
if(!if_up(ifp))
return;
- babel_ifp = babel_get_if_nfo(ifp);
debugf(BABEL_DEBUG_COMMON,"sending request to %s for %s.",
ifp->name, prefix ? format_prefix(prefix, plen) : "any");
v4 = plen >= 96 && v4mapped(prefix);
unsigned short seqno, const unsigned char *id,
unsigned short hop_count)
{
- babel_interface_nfo *babel_ifp = NULL;
int v4, pb, len;
/* Make sure any buffered updates go out before this request. */
if(!if_up(ifp))
return;
- babel_ifp = babel_get_if_nfo(ifp);
debugf(BABEL_DEBUG_COMMON,"Sending request (%d) on %s for %s.",
hop_count, ifp->name, format_prefix(prefix, plen));
v4 = plen >= 96 && v4mapped(prefix);