From: Ian Jackson Date: Tue, 30 Sep 2014 16:36:44 +0000 (+0100) Subject: polypath: Reorganise to break up ifaddr handling X-Git-Tag: base.ipv6-polypath-fixes-2.v1~34 X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/commitdiff_plain/70ad8e2cac2bafe2fca72fe5146ac0fb3719ffc9?hp=70ad8e2cac2bafe2fca72fe5146ac0fb3719ffc9 polypath: Reorganise to break up ifaddr handling We are going to want to do some of this processing in a different process, and hence in a different order. So split polypath_process_monitor_lineinto three, producing two new functions polypath_make_socket and polypath_record_ifaddr. We change the error handling so it can be more context-sensitive: the BAD macros use contextual `bad' and `badctx' values. These are function pointers. dump_ppml becomes dump_pria because it records interface address recording. Signed-off-by: Ian Jackson ---