Lines Matching defs:status
60 * a status message based on the value and exits this command.
70 dladm_status_t status;
72 status = dladm_iptun_get6to4relay(handle, &rr_addr);
73 if (status != DLADM_STATUS_OK) {
75 "6to4 relay status: %s\n"),
76 dladm_status2str(status, errstr));
177 dladm_status_t status;
187 if ((status = dladm_open(&handle)) != DLADM_STATUS_OK) {
189 "dladm handle: %s\n"), dladm_status2str(status, errstr));
193 /* If no args are specified, print the current status. */
249 status = dladm_iptun_get6to4relay(handle, ¤t_addr);
250 if (status != DLADM_STATUS_OK) {
253 dladm_status2str(status, errstr));
260 status = dladm_iptun_set6to4relay(handle, &new_addr);
261 if (status != DLADM_STATUS_OK) {
264 "%s\n"), dladm_status2str(status, errstr));
289 status = dladm_iptun_get6to4relay(handle, &rr_addr);
290 if (status != DLADM_STATUS_OK) {
293 dladm_status2str(status, errstr));
307 status = dladm_iptun_set6to4relay(handle, &rr_addr);
308 if (status != DLADM_STATUS_OK) {
311 "%s\n"), dladm_status2str(status, errstr));