Searched refs:IFNAMSIZ (Results 1 – 15 of 15) sorted by relevance
/systemd-251/src/basic/linux/ |
D | if.h | 32 #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];
|
D | if_bonding.h | 117 char slave_name[IFNAMSIZ];
|
D | if_tunnel.h | 49 char name[IFNAMSIZ];
|
/systemd-251/src/nspawn/ |
D | nspawn-network.c | 205 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
|
D | nspawn-network.h | 10 int setup_veth(const char *machine_name, pid_t pid, char iface_name[IFNAMSIZ], bool bridge);
|
D | nspawn.c | 4723 char veth_name[IFNAMSIZ], bool *veth_created, in run_container() argument 5447 char veth_name[IFNAMSIZ] = ""; in run()
|
/systemd-251/src/libsystemd/sd-netlink/ |
D | netlink-types-genl.c | 53 … [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 },
|
D | netlink-types-nfnl.c | 22 [NFTA_HOOK_DEV] = { .type = NETLINK_TYPE_STRING, .size = IFNAMSIZ - 1 },
|
D | netlink-types-rtnl.c | 844 [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/ |
D | ioctl.h | 74 char master[IFNAMSIZ]; /* Name of master FRAD device */
|
/systemd-251/src/shared/ |
D | firewall-util-iptables.c | 14 #ifndef IFNAMSIZ 15 #define IFNAMSIZ 16 macro
|
/systemd-251/src/network/netdev/ |
D | tuntap.c | 43 strncpy(ifr->ifr_name, netdev->ifname, IFNAMSIZ-1); in netdev_fill_tuntap_message()
|
D | tunnel.c | 43 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/ |
D | socket-util.c | 822 if (strlen(p) >= IFNAMSIZ) in ifname_valid_full() 854 if (strlen(p) >= IFNAMSIZ) in address_label_valid()
|
/systemd-251/src/network/ |
D | networkctl.c | 265 char name[IFNAMSIZ+1];
|