Searched refs:tunname (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | spdsock.c | 390 spd_if_t *tunname = (spd_if_t *)ext; in ext_check() local 402 i = SPD_64TO8(tunname->spd_if_len) - sizeof (spd_if_t); in ext_check() 403 idstr = (char *)(tunname + 1); in ext_check() 1314 spdsock_flip(queue_t *q, mblk_t *mp, spd_if_t *tunname) in spdsock_flip() argument 1322 if (tunname != NULL) { in spdsock_flip() 1323 tname = (char *)tunname->spd_if_name; in spdsock_flip() 2124 spdsock_clone(queue_t *q, mblk_t *mp, spd_if_t *tunname) in spdsock_clone() argument 2133 if (tunname != NULL) { in spdsock_clone() 2134 tname = (char *)tunname->spd_if_name; in spdsock_clone() 2893 get_appropriate_polhead(queue_t *q, mblk_t *mp, spd_if_t *tunname, int spdid, in get_appropriate_polhead() argument [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipsecconf.c | 5756 attach_tunname(spd_if_t *tunname) in attach_tunname() argument 5758 if (tunname == NULL || interface_name == NULL) in attach_tunname() 5761 tunname->spd_if_exttype = SPD_EXT_TUN_NAME; in attach_tunname() 5766 tunname->spd_if_len = SPD_8TO64( in attach_tunname() 5767 P2ROUNDUP(sizeof (*tunname) + strlen(interface_name) - 3, 8)); in attach_tunname() 5768 (void) strlcpy((char *)tunname->spd_if_name, interface_name, LIFNAMSIZ); in attach_tunname() 5769 return (tunname->spd_if_len); in attach_tunname()
|