Home
last modified time | relevance | path

Searched refs:IFNAMSIZ (Results 1 – 15 of 15) sorted by relevance

/systemd-251/src/basic/linux/
Dif.h32 #define IFNAMSIZ 16 macro
237 char ifrn_name[IFNAMSIZ]; /* if name, e.g. "en0" */
250 char ifru_slave[IFNAMSIZ]; /* Just fits the size */
251 char ifru_newname[IFNAMSIZ];
Dif_bonding.h117 char slave_name[IFNAMSIZ];
Dif_tunnel.h49 char name[IFNAMSIZ];
/systemd-251/src/nspawn/
Dnspawn-network.c205 char new_ifname[IFNAMSIZ]; in shorten_ifname()
209 if (strlen(ifname) < IFNAMSIZ) /* Name is short enough */ in shorten_ifname()
219 memcpy(new_ifname, ifname, IFNAMSIZ - 5); in shorten_ifname()
220 new_ifname[IFNAMSIZ - 5] = urlsafe_base64char(h >> 18); in shorten_ifname()
221 new_ifname[IFNAMSIZ - 4] = urlsafe_base64char(h >> 12); in shorten_ifname()
222 new_ifname[IFNAMSIZ - 3] = urlsafe_base64char(h >> 6); in shorten_ifname()
223 new_ifname[IFNAMSIZ - 2] = urlsafe_base64char(h); in shorten_ifname()
226 memcpy(new_ifname, ifname, IFNAMSIZ-1); in shorten_ifname()
228 new_ifname[IFNAMSIZ - 1] = 0; in shorten_ifname()
239 char iface_name[IFNAMSIZ], in setup_veth() argument
Dnspawn-network.h10 int setup_veth(const char *machine_name, pid_t pid, char iface_name[IFNAMSIZ], bool bridge);
Dnspawn.c4723 char veth_name[IFNAMSIZ], bool *veth_created, in run_container() argument
5447 char veth_name[IFNAMSIZ] = ""; in run()
/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-types-genl.c53 … [BATADV_ATTR_MESH_IFNAME] = { .type = NETLINK_TYPE_STRING, .size = IFNAMSIZ },
56 … [BATADV_ATTR_HARD_IFNAME] = { .type = NETLINK_TYPE_STRING, .size = IFNAMSIZ },
186 [NL80211_ATTR_IFNAME] = { .type = NETLINK_TYPE_STRING, .size = IFNAMSIZ-1 },
216 [WGDEVICE_A_IFNAME] = { .type = NETLINK_TYPE_STRING, .size = IFNAMSIZ-1 },
Dnetlink-types-nfnl.c22 [NFTA_HOOK_DEV] = { .type = NETLINK_TYPE_STRING, .size = IFNAMSIZ - 1 },
Dnetlink-types-rtnl.c844 [IFLA_IFNAME] = { .type = NETLINK_TYPE_STRING, .size = IFNAMSIZ - 1 },
879 [IFLA_PHYS_PORT_NAME] = { .type = NETLINK_TYPE_STRING, .size = IFNAMSIZ - 1 },
907 [IFA_LABEL] = { .type = NETLINK_TYPE_STRING, .size = IFNAMSIZ - 1 },
/systemd-251/src/basic/linux/hdlc/
Dioctl.h74 char master[IFNAMSIZ]; /* Name of master FRAD device */
/systemd-251/src/shared/
Dfirewall-util-iptables.c14 #ifndef IFNAMSIZ
15 #define IFNAMSIZ 16 macro
/systemd-251/src/network/netdev/
Dtuntap.c43 strncpy(ifr->ifr_name, netdev->ifname, IFNAMSIZ-1); in netdev_fill_tuntap_message()
Dtunnel.c43 char ifname[IFNAMSIZ]; in dhcp4_pd_create_6rd_tunnel_name()
80 assert_cc(STRLEN("6rd-") + 10 <= IFNAMSIZ); in dhcp4_pd_create_6rd_tunnel_name()
/systemd-251/src/basic/
Dsocket-util.c822 if (strlen(p) >= IFNAMSIZ) in ifname_valid_full()
854 if (strlen(p) >= IFNAMSIZ) in address_label_valid()
/systemd-251/src/network/
Dnetworkctl.c265 char name[IFNAMSIZ+1];