summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_network.h
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@users.noreply.github.com>2020-10-07 12:07:09 -0300
committerGitHub <noreply@github.com>2020-10-07 12:07:09 -0300
commitbd407b54d26981f30a95bc316ea2ed965d070c53 (patch)
tree6f09c1a81a5e54dd214878ad52a8f0e0e318982b /ospf6d/ospf6_network.h
parent9cfb2747adc875a7aaa7f99a45a65f65234a2004 (diff)
parent7df1f3623ec3fb47be4f3b8234c393067c69ab4d (diff)
Merge pull request #7058 from Niral-Networks/niral_dev_vrf_ospf6
ospf6d : Socket change for ospf6d vrf support.
Diffstat (limited to 'ospf6d/ospf6_network.h')
-rw-r--r--ospf6d/ospf6_network.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ospf6d/ospf6_network.h b/ospf6d/ospf6_network.h
index 7fe6e33ff2..eeef0514f3 100644
--- a/ospf6d/ospf6_network.h
+++ b/ospf6d/ospf6_network.h
@@ -21,17 +21,17 @@
#ifndef OSPF6_NETWORK_H
#define OSPF6_NETWORK_H
-extern int ospf6_sock;
+struct ospf6 *ospf6;
extern struct in6_addr allspfrouters6;
extern struct in6_addr alldrouters6;
-extern int ospf6_serv_sock(void);
-extern void ospf6_serv_close(void);
+extern int ospf6_serv_sock(struct ospf6 *ospf6);
+extern void ospf6_serv_close(int *ospf6_sock);
extern int ospf6_sso(ifindex_t ifindex, struct in6_addr *group, int option);
extern int ospf6_sendmsg(struct in6_addr *, struct in6_addr *, ifindex_t *,
- struct iovec *);
+ struct iovec *, int ospf6_sock);
extern int ospf6_recvmsg(struct in6_addr *, struct in6_addr *, ifindex_t *,
- struct iovec *);
+ struct iovec *, int ospf6_sock);
#endif /* OSPF6_NETWORK_H */