Deleted Added
full compact
iscontrol.c (234425) iscontrol.c (254657)
1/*-
2 * Copyright (c) 2005-2010 Daniel Braniss <danny@cs.huji.ac.il>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 18 unchanged lines hidden (view full) ---

27/*
28 | $Id: iscontrol.c,v 2.2 2006/12/01 09:11:56 danny Exp danny $
29 */
30/*
31 | the user level initiator (client)
32 */
33
34#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2005-2010 Daniel Braniss <danny@cs.huji.ac.il>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 18 unchanged lines hidden (view full) ---

27/*
28 | $Id: iscontrol.c,v 2.2 2006/12/01 09:11:56 danny Exp danny $
29 */
30/*
31 | the user level initiator (client)
32 */
33
34#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: head/sbin/iscontrol/iscontrol.c 234425 2012-04-18 16:47:57Z jpaetzel $");
35__FBSDID("$FreeBSD: head/sbin/iscontrol/iscontrol.c 254657 2013-08-22 14:02:34Z trasz $");
36
37#include <sys/param.h>
38#include <sys/types.h>
39#include <sys/socket.h>
40#include <sys/sysctl.h>
41
42#include <netinet/in.h>
43#include <netinet/tcp.h>

--- 6 unchanged lines hidden (view full) ---

50#include <libgen.h>
51#include <stdio.h>
52#include <stdlib.h>
53#include <string.h>
54#include <time.h>
55#include <unistd.h>
56#include <camlib.h>
57
36
37#include <sys/param.h>
38#include <sys/types.h>
39#include <sys/socket.h>
40#include <sys/sysctl.h>
41
42#include <netinet/in.h>
43#include <netinet/tcp.h>

--- 6 unchanged lines hidden (view full) ---

50#include <libgen.h>
51#include <stdio.h>
52#include <stdlib.h>
53#include <string.h>
54#include <time.h>
55#include <unistd.h>
56#include <camlib.h>
57
58#include <dev/iscsi/initiator/iscsi.h>
58#include <dev/iscsi_initiator/iscsi.h>
59#include "iscontrol.h"
60
61static char version[] = "2.3.1"; // keep in sync with iscsi_initiator
62
63#define USAGE "[-v] [-d] [-c config] [-n name] [-t target] [-p pidfile]"
64#define OPTIONS "vdc:t:n:p:"
65
66token_t AuthMethods[] = {

--- 193 unchanged lines hidden ---
59#include "iscontrol.h"
60
61static char version[] = "2.3.1"; // keep in sync with iscsi_initiator
62
63#define USAGE "[-v] [-d] [-c config] [-n name] [-t target] [-p pidfile]"
64#define OPTIONS "vdc:t:n:p:"
65
66token_t AuthMethods[] = {

--- 193 unchanged lines hidden ---