Home
last modified time | relevance | path

Searched refs:IPAddress (Results 1 – 25 of 49) sorted by relevance

12

/onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/data/
H A DNetwork.java39 private IPAddress address;
40 private IPAddress netmask;
49 address = new IPAddress(); in Network()
50 netmask = new IPAddress(); in Network()
57 public Network(IPAddress addr) { in Network()
62 private void initialize(IPAddress addr) { in initialize()
69 netmask = new IPAddress("255.0.0.0"); in initialize()
71 netmask = new IPAddress("255.255.0.0"); in initialize()
73 netmask = new IPAddress("255.255.255.0"); in initialize()
86 initialize(new IPAddress(addr)); in Network()
[all …]
H A DIPAddress.java43 public class IPAddress implements Cloneable, Serializable { class
52 public IPAddress() { in IPAddress() method in IPAddress
59 public IPAddress(String s) throws ValidationException { in IPAddress() method in IPAddress
114 public IPAddress(InetAddress a) { in IPAddress() method in IPAddress
122 public IPAddress(int addr) { in IPAddress() method in IPAddress
197 } else if (obj instanceof IPAddress) { in equals()
198 ba = ((IPAddress)obj).getAddress(); in equals()
221 IPAddress a = new IPAddress(); in clone()
H A DDhcpClientRecord.java63 private IPAddress clientIP;
64 private IPAddress serverIP;
93 setClientIP(new IPAddress(clientIP)); in DhcpClientRecord()
131 setClientIP(new IPAddress(clientIP)); in DhcpClientRecord()
132 setServerIP(new IPAddress(serverIP)); in DhcpClientRecord()
147 newrec.clientIP = (IPAddress)clientIP.clone(); in clone()
150 newrec.serverIP = (IPAddress)serverIP.clone(); in clone()
386 public IPAddress getClientIP() { in getClientIP()
414 setClientIP(new IPAddress(clientIP)); in setClientIP()
425 public void setClientIP(IPAddress clientIP) throws ValidationException { in setClientIP()
[all …]
H A DIPOptionValue.java68 newAddrs.addElement(new IPAddress(st.nextToken())); in setValue()
72 } else if (value instanceof IPAddress) { in setValue()
84 if (!(o instanceof InetAddress) && !(o instanceof IPAddress)) { in setValue()
121 if (o instanceof IPAddress) { in getValue()
122 buf.append(((IPAddress)o).getHostAddress()); in getValue()
H A DIPInterface.java47 public IPInterface(String name, IPAddress addr, IPAddress mask) { in IPInterface()
/onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/cli/dhcpconfig/
H A DIPAddressList.java30 import com.sun.dhcpmgr.data.IPAddress;
60 addElement(new IPAddress(address.trim())); in IPAddressList()
75 public IPAddressList(IPAddress [] addresses) { in IPAddressList()
92 public IPAddress [] toIPAddressArray() { in toIPAddressArray()
93 return ((IPAddress [])toArray(new IPAddress[size()])); in toIPAddressArray()
107 b.append(((IPAddress)en.nextElement()).getHostAddress()); in toString()
H A DConfigureNetwork.java28 import com.sun.dhcpmgr.data.IPAddress;
107 IPAddress netmask = null; in execute()
111 netmask = new IPAddress(mask); in execute()
170 IPAddress[] routersArray = null; in execute()
/onnv-gate/usr/src/cmd/agents/snmp/snmplib/
H A Dtrap.h46 extern int trap_send(IPAddress *ip_address, Oid *enterprise, int generic, int specific, SNMP_variab…
47 extern int trap_send_with_more_para(IPAddress *ip_address,
48 IPAddress my_ip_addr,
63 extern int trap_send_raw(IPAddress *ip_address, IPAddress my_ip_addr,
H A Dtrap.c64 IPAddress ip_address;
102 int trap_send(IPAddress *ip_address, Oid *enterprise, int generic, int specific, SNMP_variable *var… in trap_send()
105 static IPAddress my_ip_address; in trap_send()
243 int trap_send_raw(IPAddress *ip_address, IPAddress my_ip_addr, in trap_send_raw()
249 static IPAddress my_ip_address; in trap_send_raw()
403 int trap_send_with_more_para(IPAddress *ip_address, in trap_send_with_more_para()
404 IPAddress my_ip_addr, in trap_send_with_more_para()
431 IPAddress ip_address; in trap_destinator_add()
540 IPAddress my_ip_addr; in trap_send_to_all_destinators7()
542 (void)memset(&my_ip_addr, 0, sizeof(IPAddress)); in trap_send_to_all_destinators7()
H A Drequest.h45 extern SNMP_pdu *request_send_blocking(IPAddress *ip_address, SNMP_pdu *request, char *error_label);
46 extern SNMP_pdu *request_send_to_port_blocking(IPAddress *ip_address, int port,SNMP_pdu *request, c…
47 extern SNMP_pdu *request_send_to_port_time_out_blocking(IPAddress *ip_address, int port,struct time…
H A Dimpl.h101 typedef struct in_addr IPAddress; typedef
113 extern char *ip_address_string(IPAddress *ip_address);
133 extern int name_to_ip_address(char *name, IPAddress *ip_address,
135 extern int get_my_ip_address(IPAddress *my_ip_address, char *error_label);
H A Drequest.c114 SNMP_pdu *request_send_to_port_time_out_blocking(IPAddress *ip_address, int port,struct timeval *ti… in request_send_to_port_time_out_blocking()
236 SNMP_pdu *request_send_to_port_blocking(IPAddress *ip_address, int port,SNMP_pdu *request, char *er… in request_send_to_port_blocking()
247 /*static*/ SNMP_pdu *request_send_blocking(IPAddress *ip_address, SNMP_pdu *request, char *error_la… in request_send_blocking()
262 static IPAddress my_ip_address; in request_sysUpTime()
358 static IPAddress my_ip_address; in request_snmpEnableAuthTraps()
/onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/ui/
H A DIPAddressField.java36 import com.sun.dhcpmgr.data.IPAddress;
77 public void setValue(IPAddress addr) { in setValue()
90 public IPAddress getValue() { in getValue()
91 IPAddress a = null; in getValue()
93 a = new IPAddress(getText()); in getValue()
H A DAutosizingTable.java36 import com.sun.dhcpmgr.data.IPAddress;
45 IPAddress longIP = null;
109 } else if (model.getColumnClass(i) == IPAddress.class) { in tableChanged()
113 longIP = new IPAddress("222.222.222.222"); in tableChanged()
H A DExtendedCellRenderer.java34 import com.sun.dhcpmgr.data.IPAddress;
53 } else if (value instanceof IPAddress) { in setValue()
54 super.setValue(((IPAddress)value).getHostAddress()); in setValue()
H A DIPAddressList.java36 import com.sun.dhcpmgr.data.IPAddress;
135 IPAddress a = address.getValue(); in IPAddressList()
255 public void setAddressList(IPAddress [] ipAddrs) { in setAddressList()
303 public void setData(IPAddress [] ipAddrs) { in setData()
316 addrs.addElement(new IPAddress(st.nextToken())); in setData()
324 public void addElement(IPAddress addr) { in addElement()
359 b.append(((IPAddress)en.nextElement()).getHostAddress()); in getDataString()
H A DTableSorter.java57 import com.sun.dhcpmgr.data.IPAddress;
169 } else if (type == IPAddress.class) { in compareRowsByColumn()
170 IPAddress addr1 = (IPAddress)data.getValueAt(row1, column); in compareRowsByColumn()
171 IPAddress addr2 = (IPAddress)data.getValueAt(row2, column); in compareRowsByColumn()
/onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/client/
H A DDeleteAddressDialog.java81 return IPAddress.class; in getColumnClass()
128 addressTable.setDefaultRenderer(IPAddress.class, in getMainPanel()
170 return IPAddress.class; in getErrorClass()
H A DReleaseAddressDialog.java85 return IPAddress.class; in getColumnClass()
148 addressTable.setDefaultRenderer(IPAddress.class, renderer); in getMainPanel()
168 return IPAddress.class; in getErrorClass()
H A DErrorTable.java36 import com.sun.dhcpmgr.data.IPAddress;
101 setDefaultRenderer(IPAddress.class, renderer); in ErrorTable()
H A DAddressWizard.java58 private IPAddress serverIP;
59 private IPAddress startAddress;
69 IPAddress addr;
88 addr = new IPAddress(a); in setAddr()
93 addr = new IPAddress(a); in setAddr()
125 return IPAddress.class; in getColumnClass()
472 IPAddress a = startField.getValue(); in setInactive()
498 serverIP = new IPAddress(serverField.getText()); in setInactive()
552 addressTable.setDefaultRenderer(IPAddress.class, in ConfirmStep()
901 addressTable.setDefaultRenderer(IPAddress.class, in ReviewStep()
[all …]
H A DConfigWizard.java59 private IPAddress router = null;
764 IPAddress a = (IPAddress)maskTable.get(s); in NetworkStep()
1040 IPAddress addr = address.getValue(); in setInactive()
1310 IPAddress a = (IPAddress)en.nextElement(); in setActive()
1345 IPAddress a = (IPAddress)en.nextElement(); in setActive()
1486 IPAddress [] routers = null; in doFinish()
1488 routers = new IPAddress[] { router }; in doFinish()
/onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/server/
H A DDhcptabMgr.java93 public void createNetworkMacro(Network network, IPAddress [] routers, in createNetworkMacro()
96 public void createNetworkMacro(Network network, IPAddress [] routers, in createNetworkMacro()
/onnv-gate/usr/src/cmd/agents/snmp/trapsend/
H A Dtrapsend.c68 IPAddress ip_address; in main()
69 IPAddress my_ip_addr; in main()
/onnv-gate/usr/src/cmd/agents/snmp/snmprelayd/
H A Ddispatcher.h54 extern IPAddress my_ip_address;

12