misc.c (250303) | misc.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 --- 16 unchanged lines hidden (view full) --- 25 * 26 */ 27 28/* 29 | $Id: misc.c,v 2.1 2006/11/12 08:06:51 danny Exp $ 30 */ 31 32#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 --- 16 unchanged lines hidden (view full) --- 25 * 26 */ 27 28/* 29 | $Id: misc.c,v 2.1 2006/11/12 08:06:51 danny Exp $ 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sbin/iscontrol/misc.c 250303 2013-05-06 17:44:12Z eadler $"); | 33__FBSDID("$FreeBSD: head/sbin/iscontrol/misc.c 254657 2013-08-22 14:02:34Z trasz $"); |
34 35#include <sys/param.h> 36#include <sys/types.h> 37#include <sys/socket.h> 38#include <sys/sysctl.h> 39 40#include <netinet/in.h> 41#include <netinet/tcp.h> 42#include <arpa/inet.h> 43#include <stdlib.h> 44#include <stdio.h> 45#include <string.h> 46 | 34 35#include <sys/param.h> 36#include <sys/types.h> 37#include <sys/socket.h> 38#include <sys/sysctl.h> 39 40#include <netinet/in.h> 41#include <netinet/tcp.h> 42#include <arpa/inet.h> 43#include <stdlib.h> 44#include <stdio.h> 45#include <string.h> 46 |
47#include <dev/iscsi/initiator/iscsi.h> | 47#include <dev/iscsi_initiator/iscsi.h> |
48#include "iscontrol.h" 49 50static inline char 51c2b(unsigned char c) 52{ 53 switch(c) { 54 case '0' ... '9': 55 return c - '0'; --- 171 unchanged lines hidden --- | 48#include "iscontrol.h" 49 50static inline char 51c2b(unsigned char c) 52{ 53 switch(c) { 54 case '0' ... '9': 55 return c - '0'; --- 171 unchanged lines hidden --- |