Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setPointToPoint (0.27 sec)

  1. src/net/interface_bsd_test.go

    	})
    	ti.teardownCmds = append(ti.teardownCmds, &exec.Cmd{
    		Path: xname,
    		Args: []string{"ifconfig", ti.name, "destroy"},
    	})
    	return nil
    }
    
    func (ti *testInterface) setPointToPoint(suffix int) error {
    	ti.name = fmt.Sprintf("gif%d", suffix)
    	xname, err := exec.LookPath("ifconfig")
    	if err != nil {
    		return err
    	}
    	ti.setupCmds = append(ti.setupCmds, &exec.Cmd{
    		Path: xname,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  2. src/net/interface_linux_test.go

    	})
    	ti.teardownCmds = append(ti.teardownCmds, &exec.Cmd{
    		Path: xname,
    		Args: []string{"ip", "link", "delete", ti.name, "type", "dummy"},
    	})
    	return nil
    }
    
    func (ti *testInterface) setPointToPoint(suffix int) error {
    	ti.name = fmt.Sprintf("gotest%d", suffix)
    	xname, err := exec.LookPath("ip")
    	if err != nil {
    		return err
    	}
    	ti.setupCmds = append(ti.setupCmds, &exec.Cmd{
    		Path: xname,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 06 00:05:32 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  3. src/net/interface_unix_test.go

    	// harm anyone.
    	local, remote := "169.254.0.1", "169.254.0.254"
    	ip := ParseIP(remote)
    	for i := 0; i < 3; i++ {
    		ti := &testInterface{local: local, remote: remote}
    		if err := ti.setPointToPoint(5963 + i); err != nil {
    			t.Skipf("test requires external command: %v", err)
    		}
    		if err := ti.setup(); err != nil {
    			if e := err.Error(); strings.Contains(e, "No such device") && strings.Contains(e, "gre0") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 23:51:35 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top