Hi,
I am using smitty to create and configure a print queue. I am giving a print of a text file to the print queue created. I am using this in network.
How to capture network packets of the print from AIX to the printer and printer to AIX.
I tried Wireshark to capture network packets.
I am... (16 Replies)
Hi,
I want to capture snmp packets in AIX.
When i give print from AIX6.1, Printer will give its response thru' snmp.
I used iptrace command like below, but it is not capturing snmp packets other packets are captured like udp, tcp..
1. iptrace command:
/usr/sbin/iptrace -a -i en0... (1 Reply)
Hi,
I want to capture a certain type of packets (selected according to the protocol) coming to my PC and then transmit them to another PC. I had the idea to use tcpdump to filter input packets and extract those chosen. Well my questions are:
1- after filtering input packets, those that have not... (1 Reply)
Hello
I try to send DHCP RENEW packets to the network and receive the responses. I broadcast the packet and I can see that it's successfully sent using Wireshark. But I have difficulties receiving the responses.I use packet sockets to catch the packets. I can see that there are responses to my... (0 Replies)
Hi, I have got sample linux driver written in C.
I got also some assembly code, compiled into .o file (using as compiler).
In my Makefile I got:
obj-m += someDriver.o
someDriver-objs := CFile1.o CFile2.o ASMFile.o
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modulesUnfortunatelly I cannot... (0 Replies)
Hi,
Its been a long time since i programmed a multithreaded application that can do Tx and Rx of datagrams over unix sockets.
I well remember that though the threads were efficiently designed to be independent of each other, and was writing to different sockets, there was a limitation ,... (0 Replies)
Discussion started by: binnyjeshan
0 Replies
LEARN ABOUT PLAN9
lance
LANCE(3) Library Functions Manual LANCE(3)NAME
lance - LANCE Ethernet device
SYNOPSIS
bind -a #l /net
/net/ether/clone
/net/ether/[0-7]
/net/ether/[0-7]/data
/net/ether/[0-7]/ctl
/net/ether/[0-7]/stats
/net/ether/[0-7]/type
DESCRIPTION
The LANCE Ethernet interface is a directory containing 9 stream directories: one for each of 8 Ethernet packet types and a clone file.
Each stream directory contains files to control the stream, receive and send data, and supply statistics. Incoming Ethernet packets are
demultiplexed by packet type and passed up the corresponding open stream. Reading from the data file reads packets at the head of the
stream. A read will terminate at packet boundaries. Each write to the data file causes a packet to be sent. The Ethernet address of the
interface is inserted into the packet header as the source address.
A stream is assigned a packet type by opening its ctl file and writing connect n where n is a decimal integer constant identifying the Eth-
ernet packet type. A value of -1 stands for all types. If multiple streams are assigned to a given packet type a copy of the packet is
passed up each stream.
Reading the type file returns the decimal value of the assigned Ethernet packet type. Reading the stats file returns status information
and the Ethernet address of the interface.
An interface normally receives only packets whose destination address is that of the interface or is the broadcast address,
ff:ff:ff:ff:ff:ff. The interface can be made to receive all packets on the network by writing the string promiscuous to the ctl file. The
interface remains promiscuous until the control file is closed. The extra packets are passed up only streams of type -1.
SOURCE
/sys/src/9/port/devlance.c
LANCE(3)