/freebsd-10.1-release/sbin/natd/samples/ |
H A D | natd.cf.sample | 41 # Obtain interface name from the command output of "ifconfig -a" 44 interface ep0 72 # will be known by to the outside interface. These are sometimes known as 73 # virtual IP numbers. It's suggested to use the "interface" directive
|
H A D | natd.test | 13 ./natd -port 32000 -interface $1 -verbose
|
/freebsd-10.1-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper.c | 133 * Return the number of interfaces the chip has. Each interface 136 * one interface. 177 * Return the number of ports on an interface. Depending on the 179 * specifies that the interface doesn't exist or isn't usable. 181 * @param interface Interface to get the port count for 183 * @return Number of ports on interface. Can be Zero. 185 int cvmx_helper_ports_on_interface(int interface) argument 188 return cvmx_helper_interface_enumerate(interface); 190 return __cvmx_helper_get_num_ipd_ports(interface); 198 * Get the operating mode of an interface 207 cvmx_helper_interface_get_mode(int interface) argument 459 int interface, index, pknd; local 523 cvmx_helper_fcs_op(int interface, int nports, int has_fcs) argument 566 cvmx_helper_interface_enumerate(int interface) argument 617 cvmx_helper_interface_probe(int interface) argument 709 __cvmx_helper_interface_setup_ipd(int interface) argument 777 __cvmx_helper_interface_setup_pko(int interface) argument 857 int interface; local 1012 __cvmx_helper_packet_hardware_enable(int interface) argument 1069 int interface; local 1258 int interface; local 1399 int interface; local 1783 int interface = cvmx_helper_get_interface_num(ipd_port); local 1828 int interface = cvmx_helper_get_interface_num(ipd_port); local 1901 int interface = cvmx_helper_get_interface_num(ipd_port); local 1967 int interface = cvmx_helper_get_interface_num(ipd_port); local [all...] |
H A D | cvmx-helper-loop.c | 78 int __cvmx_helper_loop_enumerate(int interface) argument 85 * Probe a LOOP interface and determine the number of ports 86 * connected to it. The LOOP interface should still be down 89 * @param interface Interface to probe 91 * @return Number of ports on the interface. Zero to disable. 93 int __cvmx_helper_loop_probe(int interface) argument 95 return __cvmx_helper_loop_enumerate(interface); 101 * Bringup and enable a LOOP interface. After this call packet 105 * @param interface Interface to bring up 109 int __cvmx_helper_loop_enable(int interface) argument [all...] |
H A D | cvmx-helper-util.c | 94 int cvif_has_fcs; /* PKO fcs for this interface. */ 100 * This has to be static as u-boot expects to probe an interface and 119 * Convert a interface mode into a human readable string 285 int interface; local 294 for (interface = 0; interface < CVMX_HELPER_MAX_GMX; interface++) 298 num_ports = cvmx_helper_ports_on_interface(interface); 300 bpid = cvmx_helper_get_bpid(interface, port); 304 interface, por 405 __cvmx_helper_setup_gmx(int interface, int num_ports) argument 539 cvmx_helper_get_pko_port(int interface, int port) argument 547 cvmx_helper_get_ipd_port(int interface, int port) argument 584 __cvmx_helper_get_num_ipd_ports(int interface) argument 595 __cvmx_helper_get_pko_padding(int interface) argument 606 __cvmx_helper_init_interface(int interface, int num_ipd_ports, int has_fcs, enum cvmx_pko_padding pad) argument 678 __cvmx_helper_set_link_info(int interface, int port, cvmx_helper_link_info_t link_info) argument 697 __cvmx_helper_get_link_info(int interface, int port) argument 714 __cvmx_helper_get_has_fcs(int interface) argument 719 cvmx_helper_get_pknd(int interface, int port) argument 730 cvmx_helper_get_bpid(int interface, int port) argument [all...] |
H A D | cvmx-helper-cfg.h | 46 * OCTEON_CN68XX introduces a flexible hw interface configuration 120 * @param interface the interface number 124 extern int __cvmx_helper_cfg_pknd(int interface, int index); 130 * @param interface the interface number 134 extern int __cvmx_helper_cfg_bpid(int interface, int index); 140 * @param interface the interface number 144 extern int __cvmx_helper_cfg_pko_port_base(int interface, in [all...] |
H A D | cvmx-helper-npi.c | 84 * Probe a NPI interface and determine the number of ports 85 * connected to it. The NPI interface should still be down 88 * @param interface Interface to probe 90 * @return Number of ports on the interface. Zero to disable. 92 int __cvmx_helper_npi_probe(int interface) argument 114 * Bringup and enable a NPI interface. After this call packet 118 * @param interface Interface to bring up 122 int __cvmx_helper_npi_enable(int interface) argument 124 int num_ports = cvmx_helper_ports_on_interface(interface); 135 cvmx_helper_get_pknd(interface, por [all...] |
H A D | cvmx-higig.h | 73 uint32_t hgi : 2; /**< HiGig interface format indicator 310 * Initialize the HiGig aspects of a XAUI interface. This function 313 * @param interface Interface to initialize HiGig on (0-1) 320 static inline int cvmx_higig_initialize(int interface, int enable_higig2) argument 335 pknd = cvmx_helper_get_pknd(interface, 0); 337 pknd = interface*16; 360 gmx_rx_udd_skp.u64 = cvmx_read_csr(CVMX_GMXX_RXX_UDD_SKP(0, interface)); 363 cvmx_write_csr(CVMX_GMXX_RXX_UDD_SKP(0, interface), gmx_rx_udd_skp.u64); 366 gmx_rx_frm_ctl.u64 = cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(0, interface)); 368 cvmx_write_csr(CVMX_GMXX_RXX_FRM_CTL(0, interface), gmx_rx_frm_ct [all...] |
H A D | cvmx-helper-board.h | 83 /* Fake IPD port, the RGMII/MII interface may use different PHY, use this 158 * interface. This function is the per board location to override 169 * @param interface Interface to probe 176 extern int __cvmx_helper_board_interface_probe(int interface, int supported_ports); 185 * @param interface Interface to enable 189 extern int __cvmx_helper_board_hardware_enable(int interface);
|
H A D | cvmx-helper-cfg.c | 114 * interface, 199 int __cvmx_helper_cfg_pknd(int interface, int index) argument 201 return cvmx_cfg_port[interface][index].ccpp_pknd; 204 int __cvmx_helper_cfg_bpid(int interface, int index) argument 206 return cvmx_cfg_port[interface][index].ccpp_bpid; 209 int __cvmx_helper_cfg_pko_port_base(int interface, int index) argument 211 return cvmx_cfg_port[interface][index].ccpp_pko_port_base; 214 int __cvmx_helper_cfg_pko_port_num(int interface, int index) argument 216 return cvmx_cfg_port[interface][index].ccpp_pko_num_ports; 304 "cvmx_helper_cfg_show_cfg: interface 505 int interface, index; local 552 int interface; local [all...] |
/freebsd-10.1-release/usr.sbin/bsdconfig/networking/ |
H A D | devices | 83 f_dialog_menutag_fetch interface 84 defaultitem="$interface" 88 # device name if the interface is active. Remove the asterisk 91 case "$interface" in 92 *\*) interface="${interface%?}" ;; 96 # Obtain initial interface settings to be configured. These will be 108 _ifconfig=$( f_sysrc_get ifconfig_$interface ) 146 [ "$_ipaddr" ] || f_ifconfig_inet $interface _ipaddr 147 [ "$_netmask" ] || f_ifconfig_netmask $interface _netmas [all...] |
/freebsd-10.1-release/sys/mips/cavium/octe/ |
H A D | ethernet-rgmii.c | 78 int interface = INTERFACE(priv->port); local 81 gmxx_rxx_int_reg.u64 = cvmx_read_csr(CVMX_GMXX_RXX_INT_REG(index, interface)); 93 gmxx_rxx_frm_ctl.u64 = cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface)); 95 cvmx_write_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface), gmxx_rxx_frm_ctl.u64); 103 cvmx_write_csr(CVMX_GMXX_RXX_INT_REG(index, interface), gmxx_rxx_int_reg.u64); 120 int interface = INTERFACE(priv->port); local 124 gmxx_rxx_frm_ctl.u64 = cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface)); 126 cvmx_write_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface), gmxx_rxx_frm_ctl.u64); 132 gmxx_rxx_int_reg.u64 = cvmx_read_csr(CVMX_GMXX_RXX_INT_REG(index, interface)); 133 cvmx_write_csr(CVMX_GMXX_RXX_INT_REG(index, interface), gmxx_rxx_int_re 156 int interface = 0; local 183 int interface = 1; local 261 int interface = INTERFACE(priv->port); local 290 int interface = INTERFACE(priv->port); local [all...] |
H A D | ethernet-spi.c | 71 printf("SPI1: SRX Spi4 interface down\n"); 135 printf("SPI0: SRX Spi4 interface down\n"); 192 static void cvm_oct_spi_enable_error_reporting(int interface) argument 197 spxx_int_msk.u64 = cvmx_read_csr(CVMX_SPXX_INT_MSK(interface)); 208 cvmx_write_csr(CVMX_SPXX_INT_MSK(interface), spxx_int_msk.u64); 210 stxx_int_msk.u64 = cvmx_read_csr(CVMX_STXX_INT_MSK(interface)); 219 cvmx_write_csr(CVMX_STXX_INT_MSK(interface), stxx_int_msk.u64); 226 int interface; local 228 for (interface = 0; interface < 299 int interface; local [all...] |
/freebsd-10.1-release/usr.sbin/IPXrouted/ |
H A D | if.c | 49 extern struct interface *ifnet; 52 * Find the interface with address addr. 54 struct interface * 58 register struct interface *ifp; 77 * Find the point-to-point interface with destination address addr. 79 struct interface * 83 register struct interface *ifp; 95 * Find the interface on the network 98 struct interface * 102 register struct interface *if [all...] |
H A D | defs.h | 60 #include "interface.h" 101 void sndmsg(struct sockaddr *, int, struct interface *, int); 102 void supply(struct sockaddr *, int, struct interface *, int); 103 void addrouteforif(struct interface *); 105 void toall(void (*f)(struct sockaddr *, int, struct interface *, int),
|
H A D | sap.h | 66 struct interface *ifp; 87 void sapsndmsg(struct sockaddr *dst, int flags, struct interface *ifp, 92 struct interface *ifp, 97 struct sap_entry *sap_nearestserver(ushort ServType, struct interface *ifp);
|
/freebsd-10.1-release/etc/rc.d/ |
H A D | resolv | 45 interface="`/bin/kenv boot.netif.name`" 55 ) | /sbin/resolvconf -a ${interface}:dhcp4
|
/freebsd-10.1-release/sbin/dhclient/ |
H A D | dhclient-script | 41 $LOGGER "New Hostname ($interface): $new_host_name" 45 $LOGGER "New Hostname ($interface): $new_host_name" 51 arp -an -i $interface | \ 57 eval "$IFCONFIG $interface inet -alias $old_ip_address $medium" 61 eval "$IFCONFIG $interface \ 67 $LOGGER "New IP Address ($interface): $new_ip_address" 68 $LOGGER "New Subnet Mask ($interface): $new_subnet_mask" 69 $LOGGER "New Broadcast Address ($interface): $new_broadcast_address" 70 $LOGGER "New Routers ($interface): $new_routers" 75 $IFCONFIG $interface ine [all...] |
H A D | bpf.c | 3 /* BPF socket interface code, originally contributed by Archie Cobbs. */ 63 * Called by get_interface_list for each interface that's discovered. 64 * Opens a packet filter for each interface and adds it to the select 86 /* Set the BPF device to point at this interface. */ 88 error("Can't attach interface %s to bpf device %s: %m", 142 /* Open a BPF device and hang it on this interface... */ 225 /* Open a BPF device and hang it on this interface... */ 309 send_packet_priv(struct interface_info *interface, struct imsg_hdr *hdr, int fd) argument 334 assemble_hw_header(interface, buf, &bufp); 345 result = writev(interface 367 receive_packet(struct interface_info *interface, unsigned char *buf, size_t len, struct sockaddr_in *from, struct hardware *hfrom) argument [all...] |
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/examples/ |
H A D | udhcpd-p2p.conf | 9 # The interface that udhcpd will use 11 interface wlan2 #default: eth0
|
/freebsd-10.1-release/release/picobsd/floppy.tree/sbin/ |
H A D | dhclient-script | 41 $LOGGER "New Hostname ($interface): $new_host_name" 45 $LOGGER "New Hostname ($interface): $new_host_name" 51 arp -an -i $interface | \ 57 eval "$IFCONFIG $interface inet -alias $old_ip_address $medium" 61 eval "$IFCONFIG $interface \ 67 $LOGGER "New IP Address ($interface): $new_ip_address" 68 $LOGGER "New Subnet Mask ($interface): $new_subnet_mask" 69 $LOGGER "New Broadcast Address ($interface): $new_broadcast_address" 70 $LOGGER "New Routers ($interface): $new_routers" 75 $IFCONFIG $interface ine [all...] |
/freebsd-10.1-release/contrib/ipfilter/l4check/ |
H A D | l4check.conf | 7 interface nf0 192.168.1.1,2100
|
/freebsd-10.1-release/contrib/wpa/hostapd/ |
H A D | wired.conf | 7 interface=eth0
|
/freebsd-10.1-release/tools/tools/mctest/ |
H A D | mctest_run.sh | 12 interface="cxgb0" 65 output=$host\_$interface\_$size\_$number\.$now
|
/freebsd-10.1-release/usr.sbin/mlxcontrol/ |
H A D | Makefile | 5 SRCS= command.c config.c interface.c util.c
|