struct ping *pings; /* Pings we're waiting for */
peerspec spec; /* Specifications for this peer */
tunnel *t; /* Tunnel for local packets */
+ char *ifname; /* Interface name for tunnel */
keyset *ks; /* List head for keysets */
buf b; /* Buffer for sending packets */
stats st; /* Statistics */
extern const char *p_ifname(peer */*p*/);
+/* --- @p_setifname@ --- *
+ *
+ * Arguments: @peer *p@ = pointer to a peer block
+ * @const char *name@ = pointer to the new name
+ *
+ * Returns: ---
+ *
+ * Use: Changes the name held for a peer's interface.
+ */
+
+extern void p_setifname(peer */*p*/, const char */*name*/);
+
/* --- @p_addr@ --- *
*
* Arguments: @peer *p@ = pointer to a peer block