X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=netlink.h;h=93b556d477249c42bc1eec65ac64db275522957c;hb=4a6ee8b677fd7addc97fc0d245f95ddde3b5f8e4;hp=a7bc9afd31b70aa09ae5e8be00920992ab4ab4d0;hpb=efacf9e0049ac05c817a88158d0cce5ea9d81b09;p=secnet.git diff --git a/netlink.h b/netlink.h index a7bc9af..93b556d 100644 --- a/netlink.h +++ b/netlink.h @@ -1,3 +1,22 @@ +/* + * This file is part of secnet. + * See README for full list of copyright holders. + * + * secnet is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * secnet is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * version 3 along with secnet; if not, see + * https://www.gnu.org/licenses/gpl.html. + */ + #ifndef netlink_h #define netlink_h @@ -45,11 +64,10 @@ struct netlink { closure_t cl; void *dst; /* Pointer to host interface state */ cstring_t name; - int32_t max_start_pad; - int32_t max_end_pad; struct ipset *networks; /* Local networks */ struct subnet_list *subnets; /* Same as networks, for display */ struct ipset *remote_networks; /* Allowable remote networks */ + uint32_t local_address; /* host interface address */ uint32_t secnet_address; /* our own address, or the address of the other end of a point-to-point link */ bool_t ptp;